ubwcp: Add DLKM flag to guard compilation of ubwcp.ko

qmaa mode exposes dependencies on ubwcp.ko compilation
need to guard compilation of ubqcp.ko by dlkm flag

Change-Id: I2e171f2ae837b8ca7aa3e1e0d62731d4d3dde750
Signed-off-by: Anthony Adamo <quic_aadamo@quicinc.com>
This commit is contained in:
Anthony Adamo
2023-05-01 11:33:57 -07:00
orang tua cce20f5e49
melakukan 9c554efeb1
3 mengubah file dengan 6 tambahan dan 2 penghapusan

Melihat File

@@ -1,5 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
ifneq ($(TARGET_KERNEL_DLKM_DISABLE), true)
LOCAL_PATH := $(call my-dir)
LOCAL_MODULE_DDK_BUILD := true
@@ -11,3 +12,4 @@ LOCAL_EXPORT_KO_INCLUDE_DIRS += $(LOCAL_PATH)/include/kernel
LOCAL_MODULE := ubwcp.ko
LOCAL_MODULE_PATH := $(KERNEL_MODULES_OUT)
include $(DLKM_DIR)/Build_external_kernelmodule.mk
endif

Melihat File

@@ -1,2 +1,3 @@
ifneq ($(TARGET_KERNEL_DLKM_DISABLE), true)
PRODUCT_PACKAGES += ubwcp.ko
endif

Melihat File

@@ -1,2 +1,3 @@
ifneq ($(TARGET_KERNEL_DLKM_DISABLE), true)
BOARD_VENDOR_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/ubwcp.ko
endif