rtwo: 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 SGCMarkus
parent 73e4c690c2
commit bdfa407ffe

View File

@@ -37,7 +37,6 @@ TARGET_KERNEL_CONFIG += \
vendor/ext_config/moto-kalama-rtwo.config
# Kernel Modules
BOARD_SYSTEM_KERNEL_MODULES := $(strip $(shell cat $(DEVICE_PATH)/modules.load.system_dlkm))
BOARD_SYSTEM_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/modules.load.system_dlkm))
BOARD_VENDOR_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/modules.load))
BOARD_VENDOR_KERNEL_MODULES_BLOCKLIST_FILE := $(DEVICE_PATH)/modules.blocklist
@@ -45,6 +44,7 @@ BOARD_VENDOR_RAMDISK_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/m
BOARD_VENDOR_RAMDISK_KERNEL_MODULES_BLOCKLIST_FILE := $(DEVICE_PATH)/modules.blocklist.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.load.vendor_ramdisk))
SYSTEM_KERNEL_MODULES := $(strip $(shell cat $(DEVICE_PATH)/modules.load.system_dlkm))
TARGET_KERNEL_EXT_MODULES := \
qcom/opensource/mmrm-driver \