diff options
-rw-r--r-- | galaxysmtd.mk | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/galaxysmtd.mk b/galaxysmtd.mk index 2198c26..6243c8b 100644 --- a/galaxysmtd.mk +++ b/galaxysmtd.mk @@ -157,10 +157,9 @@ PRODUCT_TAGS += dalvik.gc.type-precise PRODUCT_LOCALES := hdpi # kernel modules -PRODUCT_COPY_FILES += \ - device/samsung/galaxysmtd/bcm4329.ko:system/lib/modules/bcm4329.ko \ - device/samsung/galaxysmtd/cifs.ko:system/lib/modules/cifs.ko \ - device/samsung/galaxysmtd/tun.ko:system/lib/modules/tun.ko +PRODUCT_COPY_FILES += $(foreach module,\ + $(wildcard device/samsung/galaxysmtd/*.ko),\ + $(module):system/lib/modules/$(notdir $(module))) ifeq ($(TARGET_PREBUILT_KERNEL),) LOCAL_KERNEL := device/samsung/galaxysmtd/kernel |