dm3q: Replace board flag for building GKI modules

Android 14 introduced BOARD_SYSTEM_KERNEL_MODULES and it conflicts with
the currently implemented GKI handling setup, so workaround and migrate
to SYSTEM_KERNEL_MODULES.

Change-Id: I77798268c825a08761c103faaf3a38a9e086dad4
This commit is contained in:
Bruno Martins
2023-10-28 12:06:13 +01:00
committed by chaptsand
parent e733d3ee1c
commit f420faee1a

View File

@@ -19,7 +19,6 @@ TARGET_SCREEN_DENSITY := 450
TARGET_KERNEL_CONFIG := dm3q_defconfig
# Kernel Modules
BOARD_SYSTEM_KERNEL_MODULES := $(strip $(shell cat $(DEVICE_PATH)/modules.include.system_dlkm))
BOARD_SYSTEM_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/modules.load.system_dlkm))
BOARD_VENDOR_KERNEL_MODULES_BLOCKLIST_FILE := $(DEVICE_PATH)/modules.blocklist
BOARD_VENDOR_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/modules.load))
@@ -27,6 +26,7 @@ BOARD_VENDOR_RAMDISK_KERNEL_MODULES_BLOCKLIST_FILE := $(BOARD_VENDOR_KERNEL_MODU
BOARD_VENDOR_RAMDISK_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/modules.load.vendor_boot))
BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/modules.load.recovery))
BOOT_KERNEL_MODULES := $(strip $(shell cat $(DEVICE_PATH)/modules.load.recovery $(DEVICE_PATH)/modules.include.vendor_ramdisk))
SYSTEM_KERNEL_MODULES := $(strip $(shell cat $(DEVICE_PATH)/modules.include.system_dlkm))
TARGET_KERNEL_EXT_MODULES := \
qcom/opensource/mmrm-driver \