]> pilppa.com Git - familiar-h63xx-build.git/commitdiff
at76c503a-modules: use 0.12.0 tag. part of a fix for #1706.
authorErik Hovland <erik@hovland.org>
Sun, 22 Oct 2006 14:35:55 +0000 (16:35 +0200)
committerRene Wagner <rw@handhelds.org>
Sun, 22 Oct 2006 14:35:55 +0000 (16:35 +0200)
Signed-off-by: Rene Wagner <rw@handhelds.org>
org.handhelds.familiar/packages/at76c503a/at76c503a-modules_0.12.0.bb [new file with mode: 0644]

diff --git a/org.handhelds.familiar/packages/at76c503a/at76c503a-modules_0.12.0.bb b/org.handhelds.familiar/packages/at76c503a/at76c503a-modules_0.12.0.bb
new file mode 100644 (file)
index 0000000..71233a3
--- /dev/null
@@ -0,0 +1,22 @@
+SECTION = "base"
+LICENSE = "GPL"
+SRC_URI = "cvs://anonymous@cvs.berlios.de/cvsroot/at76c503a;module=at76c503a;tag=version_0_12_0 \
+          file://makefile.cc.patch;patch=1"
+S = "${WORKDIR}/at76c503a"
+PR = "r0"
+
+inherit module
+
+MODULES = "at76c503 at76_usbdfu at76c503-i3861 at76c503-rfmd at76c503-rfmd-acc \
+       at76c505-rfmd at76c503-i3863 at76c505-rfmd2958"
+
+do_install() {
+       install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/usb/
+       for i in ${MODULES}; do
+               install -m 0644 $i${KERNEL_OBJECT_SUFFIX} ${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
+       fi
+}