summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratinm <atinm.dev@gmail.com>2011-08-05 19:03:32 +0400
committerGerrit Code Review <gerrit@review.cyanogenmod.com>2011-08-05 19:03:32 +0400
commitfbd4b5125cfd34ffa148e2490502efb8d2e92be7 (patch)
tree668ea67138a10c85af0806b9eb68a3b40c124132
parente517ba2fe38bc456c8a2e686bbe3d1429799a5b8 (diff)
parentf97bccadcec6e6b1235674e43a221a9e8ff0a8ff (diff)
downloaddevice_samsung_galaxysmtd-fbd4b5125cfd34ffa148e2490502efb8d2e92be7.zip
device_samsung_galaxysmtd-fbd4b5125cfd34ffa148e2490502efb8d2e92be7.tar.gz
device_samsung_galaxysmtd-fbd4b5125cfd34ffa148e2490502efb8d2e92be7.tar.bz2
Merge "Add kernel modules by wildcard" into gingerbread
-rw-r--r--galaxysmtd.mk7
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