summaryrefslogtreecommitdiff
path: root/packages/at76c503a/at76c503a-modules_cvs.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/at76c503a/at76c503a-modules_cvs.bb')
-rw-r--r--packages/at76c503a/at76c503a-modules_cvs.bb16
1 files changed, 10 insertions, 6 deletions
diff --git a/packages/at76c503a/at76c503a-modules_cvs.bb b/packages/at76c503a/at76c503a-modules_cvs.bb
index 9673e5fb1b..5e56c4787a 100644
--- a/packages/at76c503a/at76c503a-modules_cvs.bb
+++ b/packages/at76c503a/at76c503a-modules_cvs.bb
@@ -1,14 +1,17 @@
SECTION = "base"
LICENSE = "GPL"
-SRC_URI = "cvs://anonymous@cvs.berlios.de/cvsroot/at76c503a;module=at76c503a"
+SRC_URI = "cvs://anonymous@cvs.berlios.de/cvsroot/at76c503a;module=at76c503a \
+ file://makefile.cc.patch;patch=1"
S = "${WORKDIR}/at76c503a"
-PR = "r1"
+PR = "r2"
PV = "0.0cvs${CVSDATE}"
inherit module
-MODULES = "at76c503.o at76_usbdfu.o at76c503-i3861.o at76c503-rfmd.o at76c503-rfmd-acc.o \
- at76c505-rfmd.o at76c503-i3863.o at76c505-rfmd2958.o"
+MODULES = "at76c503 at76_usbdfu at76c503-i3861 at76c503-rfmd at76c503-rfmd-acc \
+ at76c505-rfmd at76c503-i3863 at76c505-rfmd2958"
+MODULES_EXTENSION = "o"
+MODULES_EXTENSION_kernel26 = "ko"
pkg_postinst() {
#!/bin/sh
@@ -25,8 +28,9 @@ update-modules || true
do_install() {
install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/usb/
- for i in ${MODULES}; do install -m 0644 $i ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/usb/$i; done
-
+ for i in ${MODULES}; do
+ install -m 0644 $i.${MODULES_EXTENSION} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/usb/
+ done
if [ "${MACHINE}" = "h3900" ]; then
install -d ${D}${sysconfdir}/modutils
echo "at76c503-rfmd" > ${D}${sysconfdir}/modutils/at76c503-rfmd