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 d3dbf69..dead58e 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -14,5 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+VENDOR_PATH := device/ark/msm8916-common
+
# Include board config fragments
-include device/ark/msm8916-common/board/*.mk
+include $(VENDOR_PATH)/board/*.mk
diff --git a/board/releasetools.mk b/board/releasetools.mk
index c484877..b81c613 100644
--- a/board/releasetools.mk
+++ b/board/releasetools.mk
@@ -1 +1 @@
-TARGET_RELEASETOOLS_EXTENSIONS := device/ark/msm8916-common
+TARGET_RELEASETOOLS_EXTENSIONS := $(VENDOR_PATH)
diff --git a/board/sepolicy.mk b/board/sepolicy.mk
index 1a626cb..852bd13 100644
--- a/board/sepolicy.mk
+++ b/board/sepolicy.mk
@@ -1 +1,2 @@
-BOARD_SEPOLICY_DIRS += device/ark/msm8916-common/sepolicy
+BOARD_SEPOLICY_DIRS += \
+ $(VENDOR_PATH)/sepolicy