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:
@@ -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
|
||||
|
@@ -1,2 +1,3 @@
|
||||
ifneq ($(TARGET_KERNEL_DLKM_DISABLE), true)
|
||||
PRODUCT_PACKAGES += ubwcp.ko
|
||||
|
||||
endif
|
||||
|
@@ -1,2 +1,3 @@
|
||||
ifneq ($(TARGET_KERNEL_DLKM_DISABLE), true)
|
||||
BOARD_VENDOR_KERNEL_MODULES += $(KERNEL_MODULES_OUT)/ubwcp.ko
|
||||
|
||||
endif
|
||||
|
Reference in New Issue
Block a user