summaryrefslogtreecommitdiff
path: root/packages/at76c503a/at76c503a-modules_cvs.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-05-04 12:59:18 +0000
committerKoen Kooi <koen@openembedded.org>2008-05-04 12:59:18 +0000
commit6e849984cff2e88b5b3dbe722282019d67c6887f (patch)
treef448dbd6587332d6b6d5e76daba7d937daf3d3e2 /packages/at76c503a/at76c503a-modules_cvs.bb
parent8f86fcb04d3daad9e376c315994bf54716f96fc0 (diff)
at76c503a: move back to packages since it's working perfectly for machine it was added for: h5000
Diffstat (limited to 'packages/at76c503a/at76c503a-modules_cvs.bb')
-rw-r--r--packages/at76c503a/at76c503a-modules_cvs.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/packages/at76c503a/at76c503a-modules_cvs.bb b/packages/at76c503a/at76c503a-modules_cvs.bb
new file mode 100644
index 0000000000..7422cc610c
--- /dev/null
+++ b/packages/at76c503a/at76c503a-modules_cvs.bb
@@ -0,0 +1,23 @@
+SECTION = "base"
+LICENSE = "GPL"
+SRC_URI = "cvs://anonymous@cvs.berlios.de/cvsroot/at76c503a;module=at76c503a \
+ file://makefile.cc.patch;patch=1"
+S = "${WORKDIR}/at76c503a"
+PR = "r4"
+PV = "0.0+cvs${SRCDATE}"
+
+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
+}