Add modules.load to set the modules load order

The modules.load file from the kernel build defines the module load
order in kernel Makefile order. We can set
BOARD_VENDOR_RAMDISK_KERNEL_MODULES_LOAD to the contents of this file.

Bug: 152080906
Test: check contents of $OUT/vendor-ramdisk/lib/modules/modules.load
Signed-off-by: Chenglu Lin <chenglulin@google.com>
Change-Id: I45327c29e29d53fc695611473c01fab4ee87844a
This commit is contained in:
Chenglu Lin
2020-04-29 14:07:31 +08:00
committed by Cyan_Hsieh
parent 15722ff935
commit ce6bc0cd8d

View File

@@ -60,6 +60,8 @@ else
endif
endif
BOARD_VENDOR_RAMDISK_KERNEL_MODULES_LOAD := $(shell xargs < device/google/redfin-kernel/modules.load)
# DTB
ifeq (,$(filter-out redfin_kasan, $(TARGET_PRODUCT)))
BOARD_PREBUILT_DTBIMAGE_DIR := device/google/redfin-kernel/kasan