From 49922bd0ba02a66a9178f8054eaaa8355309c126 Mon Sep 17 00:00:00 2001 From: Yinjun Chen Date: Tue, 5 Apr 2022 18:46:46 -0500 Subject: [PATCH] Add kalama in Build_external_kernelmodule.mk Add "kalama" to use a new mechansim for building external modules. Change-Id: Iae3650749c6c8ca3ee6920e194284388012a74ac Reviewed-on: https://gerrit.mot.com/2234561 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Zhenxin Xi Submit-Approved: Yinjun Chen --- AndroidKernelModule.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/AndroidKernelModule.mk b/AndroidKernelModule.mk index 2a66cb871c41..0586efa1e882 100644 --- a/AndroidKernelModule.mk +++ b/AndroidKernelModule.mk @@ -1,6 +1,6 @@ -ifeq ($(TARGET_BOARD_PLATFORM),taro) +ifeq ($(call is-board-platform-in-list,taro kalama), true) ifneq (,$(findstring $(LOCAL_MODULE),$(BOARD_VENDOR_KERNEL_MODULES))) -#Taro is using a new mechanisim to build kernel modules +#Taro and beyond are using a new mechanisim to build kernel modules include device/qcom/common/dlkm/Build_external_kernelmodule.mk endif else @@ -186,4 +186,4 @@ KBUILD_OPTIONS := endif endif endif #(findstring gki,$(KERNEL_DEFCONFIG)) -endif #($(TARGET_BOARD_PLATFORM),taro) +endif #(is-board-platform-in-list,taro....)