aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BoardConfigCommon.mk4
-rw-r--r--board/releasetools.mk2
-rw-r--r--board/sepolicy.mk3
3 files changed, 6 insertions, 3 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 2239bf7..81992dc 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -13,5 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+VENDOR_PATH := device/cyanogen/msm8916-common
+
# Include board config fragments
-include device/cyanogen/msm8916-common/board/*.mk
+include $(VENDOR_PATH)/board/*.mk
diff --git a/board/releasetools.mk b/board/releasetools.mk
index bc1a595..b81c613 100644
--- a/board/releasetools.mk
+++ b/board/releasetools.mk
@@ -1 +1 @@
-TARGET_RELEASETOOLS_EXTENSIONS := device/cyanogen/msm8916-common
+TARGET_RELEASETOOLS_EXTENSIONS := $(VENDOR_PATH)
diff --git a/board/sepolicy.mk b/board/sepolicy.mk
index 9650039..852bd13 100644
--- a/board/sepolicy.mk
+++ b/board/sepolicy.mk
@@ -1 +1,2 @@
-BOARD_SEPOLICY_DIRS += device/cyanogen/msm8916-common/sepolicy
+BOARD_SEPOLICY_DIRS += \
+ $(VENDOR_PATH)/sepolicy