summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoopesh Nataraja <roopeshr@codeaurora.org>2020-10-01 17:49:22 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2020-10-14 18:35:28 -0700
commit57a8f76a0afd2b1246191e7b58a2a0f53f982d2e (patch)
tree71b9d8f2593fe8177737bb9c4702d4446a179401
parentf318898e2376210c7a9e54230305e4399f47654a (diff)
common: Set TARGET_KERNEL_VERSION only if it's not set
TARGET_KERNEL_VERSION and TARGET_USES_NEW_ION can be set in product mk file. Set these flags in base.mk only if it's not set already. Change-Id: I960f8fe46878a9743a1e2560f8a52f439bbbc1ff
-rw-r--r--base.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/base.mk b/base.mk
index e230f78..03f8823 100644
--- a/base.mk
+++ b/base.mk
@@ -1,5 +1,5 @@
# define flag to determine the kernel
-TARGET_KERNEL_VERSION := $(shell ls -1r kernel | grep "msm-*" | sed 's/msm-//' | head -1)
+TARGET_KERNEL_VERSION ?= $(shell ls -1r kernel | grep "msm-*" | sed 's/msm-//' | head -1)
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := vendor/qcom/opensource/core-utils/vendor_framework_compatibility_matrix.xml