[oe-commits] Ulf Samuelsson : Compile H&D Wireless WiFi Driver
git version control
git at git.openembedded.org
Thu Jan 27 22:52:44 UTC 2011
Module: openembedded.git
Branch: ulf/linux-2.6.30-2011-01-16
Commit: 4d7db0ad5bea7e34321a5acab4e5d26d510e9d5e
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4d7db0ad5bea7e34321a5acab4e5d26d510e9d5e
Author: Ulf Samuelsson <ulf.samuelsson at atmel.com>
Date: Thu Jan 27 23:49:17 2011 +0100
Compile H&D Wireless WiFi Driver
---
recipes/owl-wifi/owl-wifi_1.0.4.bb | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/recipes/owl-wifi/owl-wifi_1.0.4.bb b/recipes/owl-wifi/owl-wifi_1.0.4.bb
new file mode 100644
index 0000000..5e31b82
--- /dev/null
+++ b/recipes/owl-wifi/owl-wifi_1.0.4.bb
@@ -0,0 +1,31 @@
+DESCRIPTION = "Driver for HD Wireless Wi-Fi device"
+HOMEPAGE = "http://www.hd-wireless.se"
+PRIORITY = "optional"
+SECTION = "kernel/modules"
+LICENSE = "GPL"
+PR = "r1"
+RDEPENDS = "wireless-tools \
+ wpa-supplicant \
+ "
+
+SRC_URI = "http://www.hd-wireless.se/images/stories/public_pdf/owl-linux-arm-${PV}.tar.gz \
+ "
+
+S = "${WORKDIR}/owl-linux-arm-${PV}"
+
+inherit module
+
+do_compile () {
+ unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CC LD CPP
+ oe_runmake 'MODPATH=${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net' \
+ 'KERNELDIR=${STAGING_KERNEL_DIR}' \
+ 'KDIR=${STAGING_KERNEL_DIR}' \
+ 'KERNEL_VERSION=${KERNEL_VERSION}' \
+ 'CC=${KERNEL_CC}' \
+ 'LD=${KERNEL_LD}'
+}
+
+do_install() {
+ install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net
+ install -m 0644 ${S}/owl*${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net
+}
More information about the Openembedded-commits
mailing list