summaryrefslogtreecommitdiff
path: root/BoardConfig.mk
diff options
context:
space:
mode:
authorIsaac Chen <isaacchen@isaacchen.cn>2018-06-30 19:42:04 +0800
committerIsaac Chen <isaacchen@isaacchen.cn>2018-07-03 22:11:27 +0800
commitc06a0bfc0cf3b376ee672c326c1e8a8dc69e48ad (patch)
tree20488d18ba693d3b08fbb7e813ede35b11a81291 /BoardConfig.mk
parentf80468f88d7c92347dc54b8ac29ccd9d9b66bdca (diff)
wayne: Use device specified path
Change-Id: I39978725c7b152b9ab04883d8a60fe37c76a89d0 Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
Diffstat (limited to 'BoardConfig.mk')
-rwxr-xr-xBoardConfig.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index c7df59e..30ee91b 100755
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -3,6 +3,8 @@
# Product-specific compile-time definitions.
#
+DEVICE_PATH := device/xiaomi/wayne
+
TARGET_BOARD_PLATFORM := sdm660
TARGET_BOARD_SUFFIX := _64
TARGET_BOOTLOADER_BOARD_NAME :=sdm660
@@ -42,9 +44,9 @@ BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
#TARGET_RECOVERY_UPDATER_LIBS += librecovery_updater_msm
ifeq ($(ENABLE_VENDOR_IMAGE), true)
- TARGET_RECOVERY_FSTAB := device/qcom/sdm660_64/recovery_non-AB_split_variant.fstab
+ TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/recovery_non-AB_split_variant.fstab
else
- TARGET_RECOVERY_FSTAB := device/qcom/sdm660_64/recovery_non-AB_non-split_variant.fstab
+ TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/sdm660_64/recovery_non-AB_non-split_variant.fstab
endif
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3221225472
@@ -80,8 +82,8 @@ endif
BOARD_KERNEL_CMDLINE += androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x37 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 sched_enable_hmp=1 sched_enable_power_aware=1 service_locator.enable=1 swiotlb=1 androidboot.configfs=true androidboot.usbcontroller=a800000.dwc3
endif
-BOARD_EGL_CFG := device/qcom/sdm660_64/egl.cfg
-BOARD_SECCOMP_POLICY := device/qcom/sdm660_32/seccomp
+BOARD_EGL_CFG := $(DEVICE_PATH)/egl.cfg
+BOARD_SECCOMP_POLICY := $(DEVICE_PATH)/seccomp
BOARD_KERNEL_BASE := 0x00000000
BOARD_KERNEL_PAGESIZE := 4096