summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2020-10-15 18:09:42 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2020-10-15 18:15:48 +0800
commit3b147e968f2198c27c357b2e8ce2c6c7fa44bf3b (patch)
treed736b5e455ae095964c9086256442205c30cace3
parent80e228b5d8be952e30cd7bfbc57c152be37f6c7a (diff)
db845c.mk: set DB845C_KERNEL_DIR to use environment when specified
so that we could use the files in the dist directory directly, without copying them into device/linaro/dragonboard-kernel Test: export DB845C_KERNEL_DIR=<output/db845c/dist> source build/envsetup.sh lunch db845c-userdebug make -j$(nproc) droidcore Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org> Change-Id: Iacdfe3ca107bffc92679bdf9273b6c5e329b9557
-rw-r--r--db845c.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/db845c.mk b/db845c.mk
index e91d412..df377f7 100644
--- a/db845c.mk
+++ b/db845c.mk
@@ -1,7 +1,7 @@
ifndef TARGET_KERNEL_USE
TARGET_KERNEL_USE := 5.4
endif
-DB845C_KERNEL_DIR := device/linaro/dragonboard-kernel/android-$(TARGET_KERNEL_USE)
+DB845C_KERNEL_DIR ?= device/linaro/dragonboard-kernel/android-$(TARGET_KERNEL_USE)
# Inherit the full_base and device configurations
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)