aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao Wei Liew <zhaoweiliew@gmail.com>2016-11-10 20:24:21 +0800
committerlolmaxlik <ilya.lebedev.2003@mail.ru>2016-12-02 13:36:29 +0600
commitf11509acb44802bc9fdc614dfa1a7889ef2395a8 (patch)
tree667a73c2a7e7a4bee7c30527addcacf808847f15
parentf083467fc5d772130df861bbabd66073bb5778d8 (diff)
msm8916: board: Use VENDOR_PATH define
This is cleaner. Change-Id: Ic62aeeda24345960d0946b5d9e6ad8d565c12797
-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