sm8350-common: Replace Android.mk modules copy with BOOT_KERNEL_MODULES

Hacky copy rules were prone to fail because of some kind of race
condition.

Change-Id: I30d50a9dd87de9d57a583968f9936b84ac16cfca
This commit is contained in:
LuK1337 2022-03-25 20:58:27 +01:00
commit ef4792c2db
2 changed files with 1 additions and 13 deletions

View file

@ -55,6 +55,7 @@ TARGET_KERNEL_CONFIG := vendor/lahaina-qgki_defconfig
# Kernel modules
BOARD_VENDOR_KERNEL_MODULES_LOAD := $(strip $(shell cat $(COMMON_PATH)/modules.load))
BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD := $(strip $(shell cat $(COMMON_PATH)/modules.load.recovery))
BOOT_KERNEL_MODULES := $(BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD)
# Platform
BOARD_USES_QCOM_HARDWARE := true