From 3ab13299660d623c47a986cd5ac2f57b2a66be4b Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Thu, 26 Sep 2024 11:48:34 -0700 Subject: [PATCH] gs201: 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_CHEETAH_DIR Flag: build.RELEASE_KERNEL_FELIX_DIR Flag: build.RELEASE_KERNEL_LYNX_DIR Flag: build.RELEASE_KERNEL_PANTHER_DIR Flag: build.RELEASE_KERNEL_TANGORPRO_DIR Change-Id: I4c4350b8f77017902b75c8c077fcefbff6012d83 --- device.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device.mk b/device.mk index 95e609a5..d20b5520 100644 --- a/device.mk +++ b/device.mk @@ -391,6 +391,10 @@ PRODUCT_COPY_FILES += \ 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