build: Only include modules needed by product
It takes long time to include all DLKM's makefile even if the product does not need this module. Change-Id: I8629ac29a3f7e115c04dc24d2508366314716dac Signed-off-by: qianlong <qianl2@motorola.com> Reviewed-on: https://gerrit.mot.com/2059989 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Zhenxin Xi <xizx@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
1 parent
b03369e4a4
commit
6b3cd4b54c
1 file changed
+2
@@ -1,6 +1,8 @@
|
||||
ifeq ($(TARGET_BOARD_PLATFORM),taro)
|
||||
ifneq (,$(findstring $(LOCAL_MODULE),$(BOARD_VENDOR_KERNEL_MODULES)))
|
||||
#Taro is using a new mechanisim to build kernel modules
|
||||
include device/qcom/common/dlkm/Build_external_kernelmodule.mk
|
||||
endif
|
||||
else
|
||||
ifneq (,$(findstring gki,$(KERNEL_DEFCONFIG)))
|
||||
#GKI product should use Qcom latest dlkm compile file
|
||||
|
||||
Reference in new issue
Block a user