FP5: Copy msm_drm.ko to vendor_boot
This is required for display to function in recovery/fastbootd
Change-Id: I4db100da5b6487a968f3f5f0ffb66397be2401ab
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 9a51c0c..aaf0d4a 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -100,6 +100,8 @@
TARGET_KERNEL_SOURCE := kernel/fairphone/qcm6490
# Kernel modules
+BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD := $(strip $(shell cat $(DEVICE_PATH)/modules.load.recovery))
+BOOT_KERNEL_MODULES := $(BOARD_VENDOR_RAMDISK_RECOVERY_KERNEL_MODULES_LOAD)
TARGET_MODULE_ALIASES += wlan.ko:qca_cld3_wlan.ko
# Media
diff --git a/modules.load.recovery b/modules.load.recovery
new file mode 100644
index 0000000..f34bc86
--- /dev/null
+++ b/modules.load.recovery
@@ -0,0 +1 @@
+msm_drm.ko