gs101: Copy insmod configs from kernel to vendor_dlkm
We're going to transition to using the kernel copy, not the HLOS copy.
Bug: 369686096
Test: build, flash, check /vendor_dlkm/etc/ (may or may not exist,
depending on kernel contents)
Flag: build.RELEASE_KERNEL_BLUEJAY_DIR
Flag: build.RELEASE_KERNEL_ORIOLE_DIR
Flag: build.RELEASE_KERNEL_RAVEN_DIR
Change-Id: I40649b59dc0e18e5a9dc160e58815929a7150226
diff --git a/device.mk b/device.mk
index ab918a9..fc4f739 100644
--- a/device.mk
+++ b/device.mk
@@ -361,6 +361,10 @@
include device/google/gs-common/insmod/insmod.mk
+# Insmod config files
+PRODUCT_COPY_FILES += \
+ $(call find-copy-subdir-files,init.insmod.*.cfg,$(TARGET_KERNEL_DIR),$(TARGET_COPY_OUT_VENDOR_DLKM)/etc)
+
# For creating dtbo image
PRODUCT_HOST_PACKAGES += \
mkdtimg