summaryrefslogtreecommitdiff
path: root/packages/wlan-ng/wlan-ng-modules_0.2.2.bb
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-09-05 17:58:34 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-05 17:58:34 +0000
commitb2751bb5a7fcf03ae0e48929ebcac1996fd74ee4 (patch)
tree7852bfb3b00263c7997a5db5860d9d91dbad11d7 /packages/wlan-ng/wlan-ng-modules_0.2.2.bb
parenta7e0429eeb5117c75fff0e2da0e07bc1a89f0dfc (diff)
wlan-ng: add modules and userland utilities 0.2.2 (final)
Diffstat (limited to 'packages/wlan-ng/wlan-ng-modules_0.2.2.bb')
-rw-r--r--packages/wlan-ng/wlan-ng-modules_0.2.2.bb57
1 files changed, 57 insertions, 0 deletions
diff --git a/packages/wlan-ng/wlan-ng-modules_0.2.2.bb b/packages/wlan-ng/wlan-ng-modules_0.2.2.bb
new file mode 100644
index 0000000000..ccbf310b3f
--- /dev/null
+++ b/packages/wlan-ng/wlan-ng-modules_0.2.2.bb
@@ -0,0 +1,57 @@
+DESCRIPTION = "linux-wlan-ng (prism2.x, prism3, pcmcia, pci, usb) driver for 11Mbps wireless lan cards"
+HOMEPAGE = "http://www.linux-wlan.org"
+SECTION = "kernel/modules"
+DEPENDS = "virtual/kernel"
+RRECOMMENDS = "wlan-ng-utils"
+LICENSE = "GPL"
+PR = "r0"
+
+SRC_URI = "ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/linux-wlan-ng-${PV}.tar.bz2 \
+ file://no-compat.patch;patch=1 \
+ file://only-the-modules.patch;patch=1 \
+ file://compile-fix-HACK.patch;patch=1 \
+ file://config.in"
+S = "${WORKDIR}/linux-wlan-ng-${PV}"
+
+inherit module
+
+PARALLEL_MAKE = ""
+EXTRA_OEMAKE = "CC="${KERNEL_CC}" LD=${KERNEL_LD} PARALLEL_MAKE=''"
+
+do_configure() {
+ install -m 0655 ${WORKDIR}/config.in ${S}/config.in
+ oe_runmake LINUX_SRC=${KERNEL_SOURCE} auto_config
+
+ if grep CONFIG_PCMCIA=[ym] ${STAGING_KERNEL_DIR}/kernel-config; then
+ echo "PRISM2_PCMCIA=y" >> config.mk
+ echo "WLAN_KERN_PCMCIA=y" >> config.mk
+ fi
+ echo "TARGET_ROOT_ON_HOST=${D}/" >> config.mk
+ echo "TARGET_MODDIR=${D}/lib/modules/${KERNEL_VERSION}/wlan-ng" >> config.mk
+ echo "CC=${KERNEL_CC}" >> config.mk
+ echo "LD=${KERNEL_LD}" >> config.mk
+
+ # Listen closely... sssshhh... can you hear the wlan-ng build system suck?
+ rm -f ${KERNEL_SOURCE}/../config.mk
+ rm -f ${KERNEL_SOURCE}/../../config.mk
+ ln -sf ${S}/config.mk ${KERNEL_SOURCE}/..
+ ln -sf ${S}/config.mk ${KERNEL_SOURCE}/../..
+ install -m 0655 config.mk src/prism2/config.mk
+ install -d src/prism2/driver/include
+ ln -sf ${S}/src/include/wlan src/prism2/driver/include/wlan
+ ln -sf ${S}/src/prism2/include/prism2 src/prism2/driver/include/prism2
+}
+
+do_compile() {
+ oe_runmake -C src all
+}
+
+do_install() {
+ oe_runmake install DESTDIR=${D}
+
+ # Listen closely... sssshhh... can you hear the wlan-ng build system suck?
+ rm -f ${KERNEL_SOURCE}/../config.mk
+ rm -f ${KERNEL_SOURCE}/../../config.mk
+}
+
+FILES_${PN} = "/lib"