diff options
Diffstat (limited to 'packages/madwifi')
-rw-r--r-- | packages/madwifi/files/10-sh4-le-elf-copts.patch | 12 | ||||
-rw-r--r-- | packages/madwifi/files/10-xscale-be-elf-copts.patch | 10 | ||||
-rw-r--r-- | packages/madwifi/files/10-xscale-le-elf-copts.patch | 8 | ||||
-rw-r--r-- | packages/madwifi/files/20-xscale-VFP-wackelf-v2.patch | 20 | ||||
-rw-r--r-- | packages/madwifi/files/20-xscale-VFP-wackelf.patch | 20 | ||||
-rw-r--r-- | packages/madwifi/files/30-define-ioreadwrite32be-for-little-endian-too.patch | 13 | ||||
-rw-r--r-- | packages/madwifi/madwifi-modules-0.9.3/madwifi-devname.patch | 115 | ||||
-rw-r--r-- | packages/madwifi/madwifi-modules-0.9.3/madwifi-skbpanic.patch | 16 | ||||
-rw-r--r-- | packages/madwifi/madwifi-modules_0.9.3.bb | 57 | ||||
-rw-r--r-- | packages/madwifi/madwifi-modules_cvs-bsd.bb | 52 | ||||
-rw-r--r-- | packages/madwifi/madwifi-modules_cvs.bb | 55 | ||||
-rw-r--r-- | packages/madwifi/madwifi-ng_r.inc | 63 | ||||
-rw-r--r-- | packages/madwifi/madwifi-ng_r2826-20071105.bb | 14 | ||||
-rw-r--r-- | packages/madwifi/madwifi-ng_r3314-20080131.bb | 14 | ||||
-rw-r--r-- | packages/madwifi/madwifi-ng_r3837-20080802.bb | 18 | ||||
-rw-r--r-- | packages/madwifi/madwifi-ng_r3878-20081204.bb | 25 |
16 files changed, 0 insertions, 512 deletions
diff --git a/packages/madwifi/files/10-sh4-le-elf-copts.patch b/packages/madwifi/files/10-sh4-le-elf-copts.patch deleted file mode 100644 index f6a9e0020b..0000000000 --- a/packages/madwifi/files/10-sh4-le-elf-copts.patch +++ /dev/null @@ -1,12 +0,0 @@ -The -mno-implicit-fp is for gcc 4.x while for gcc 3.x we need -m4-nofpu. -Since kernels built with gcc 4.x don't work on sh4 anwyay we patch this -unconditionally for building with gcc 3.x - ---- madwifi-ng-r1527-20060425/hal/public/sh4-le-elf.inc~ 2006-07-25 13:41:29.000000000 +1000 -+++ madwifi-ng-r1527-20060425/hal/public/sh4-le-elf.inc 2006-07-25 13:41:29.000000000 +1000 -@@ -59,4 +59,4 @@ - - LDOPTS= -EL - COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN --COPTS+= -ml -m4 -mno-implicit-fp -+COPTS+= -ml -m4 -m4-nofpu diff --git a/packages/madwifi/files/10-xscale-be-elf-copts.patch b/packages/madwifi/files/10-xscale-be-elf-copts.patch deleted file mode 100644 index 1a08f3756e..0000000000 --- a/packages/madwifi/files/10-xscale-be-elf-copts.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- madwifi.orig/hal/public/xscale-be-elf.inc 2007-01-03 23:42:09.000000000 -0600 -+++ madwifi/hal/public/xscale-be-elf.inc 2007-01-03 23:48:50.000000000 -0600 -@@ -77,5 +77,5 @@ - - LDOPTS= -EB - COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN --COPTS+= -march=armv4 -mbig-endian -fno-strict-aliasing -fno-common -mapcs-32 \ -- -mtune=xscale -mshort-load-bytes -+COPTS+= -march=armv4 -mbig-endian -fno-strict-aliasing -fno-common \ -+ -mtune=xscale diff --git a/packages/madwifi/files/10-xscale-le-elf-copts.patch b/packages/madwifi/files/10-xscale-le-elf-copts.patch deleted file mode 100644 index c4d9937220..0000000000 --- a/packages/madwifi/files/10-xscale-le-elf-copts.patch +++ /dev/null @@ -1,8 +0,0 @@ ---- madwifi.orig/hal/public/xscale-le-elf.inc 2007-01-03 23:42:06.000000000 -0600 -+++ madwifi/hal/public/xscale-le-elf.inc 2007-01-03 23:48:50.000000000 -0600 -@@ -79,4 +79,4 @@ - LDOPTS= -EL - COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN - COPTS+= -march=armv4 -mlittle-endian -fno-strict-aliasing -fno-common \ -- -mapcs-32 -mtune=xscale -mshort-load-bytes -+ -mtune=xscale diff --git a/packages/madwifi/files/20-xscale-VFP-wackelf-v2.patch b/packages/madwifi/files/20-xscale-VFP-wackelf-v2.patch deleted file mode 100644 index ed805575ba..0000000000 --- a/packages/madwifi/files/20-xscale-VFP-wackelf-v2.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- madwifi-trunk-r3837-20080802/ath_hal/Makefile.orig 2008-09-06 22:23:21.000000000 -0500 -+++ madwifi-trunk-r3837-20080802/ath_hal/Makefile 2008-09-06 22:29:50.000000000 -0500 -@@ -82,12 +82,16 @@ endif - quiet_cmd_uudecode = UUDECODE $@ - cmd_uudecode = $(obj)/uudecode -o $@ $< - --$(filter-out ./,$(obj)/)$(HALBIN): $(HAL)/public/$(TARGET).hal.o.uu $(obj)/uudecode -+$(obj)/wackelf: $(HAL)/public/wackelf.c -+ $(HOSTCC) $(HOSTCFLAGS) -o $@ $< -+ -+$(filter-out ./,$(obj)/)$(HALBIN): $(HAL)/public/$(TARGET).hal.o.uu $(obj)/uudecode $(obj)/wackelf - ifdef LINUX24 - $(cmd_uudecode) - else - $(call if_changed,uudecode) - endif -+ $(obj)/wackelf -fpa $@ - - # Replace as many hashed names as possible with meaningful - # ones in the symbol table of the binary kernel module for HAL. diff --git a/packages/madwifi/files/20-xscale-VFP-wackelf.patch b/packages/madwifi/files/20-xscale-VFP-wackelf.patch deleted file mode 100644 index a47eed79e7..0000000000 --- a/packages/madwifi/files/20-xscale-VFP-wackelf.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- madwifi.orig/ath_hal/Makefile 2007-01-03 23:44:10.000000000 -0600 -+++ madwifi/ath_hal/Makefile 2007-01-03 23:47:55.000000000 -0600 -@@ -81,12 +81,16 @@ - quiet_cmd_uudecode = UUDECODE $@ - cmd_uudecode = $(obj)/uudecode -o $@ $< - --$(obj)/$(TARGET).hal.o: $(HAL)/public/$(TARGET).hal.o.uu $(obj)/uudecode -+$(obj)/wackelf: $(HAL)/public/wackelf.c -+ $(HOSTCC) $(HOSTCFLAGS) -o $@ $< -+ -+$(obj)/$(TARGET).hal.o: $(HAL)/public/$(TARGET).hal.o.uu $(obj)/uudecode $(obj)/wackelf - ifdef LINUX24 - $(Q)$(obj)/uudecode -o $@ $< - else - $(call if_changed,uudecode) - endif -+ $(Q)$(obj)/wackelf -fpa $@ - - install: - test -d $(DESTDIR)/$(KMODPATH) || mkdir -p $(DESTDIR)/$(KMODPATH) diff --git a/packages/madwifi/files/30-define-ioreadwrite32be-for-little-endian-too.patch b/packages/madwifi/files/30-define-ioreadwrite32be-for-little-endian-too.patch deleted file mode 100644 index 3752a554cd..0000000000 --- a/packages/madwifi/files/30-define-ioreadwrite32be-for-little-endian-too.patch +++ /dev/null @@ -1,13 +0,0 @@ -Reported as http://madwifi.org/ticket/1783 ... - ---- madwifi-ng-r3314-20080131/ath_hal/ah_os.h~ 2007-11-23 20:08:18.000000000 +1030 -+++ madwifi-ng-r3314-20080131/ath_hal/ah_os.h 2008-02-11 23:12:11.000000000 +1030 -@@ -168,7 +168,7 @@ - * for the second time, so the native implementations should be preferred. - */ - #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12)) && \ -- !defined(CONFIG_GENERIC_IOMAP) && (AH_BYTE_ORDER == AH_BIG_ENDIAN) && \ -+ !defined(CONFIG_GENERIC_IOMAP) && \ - !defined(__mips__) && !defined(__hppa__) && !defined(__powerpc__) - # ifndef iowrite32be - # define iowrite32be(_val, _addr) iowrite32(swab32((_val)), (_addr)) diff --git a/packages/madwifi/madwifi-modules-0.9.3/madwifi-devname.patch b/packages/madwifi/madwifi-modules-0.9.3/madwifi-devname.patch deleted file mode 100644 index 8f56b0485e..0000000000 --- a/packages/madwifi/madwifi-modules-0.9.3/madwifi-devname.patch +++ /dev/null @@ -1,115 +0,0 @@ -diff -uNr madwifi-0.9.3-orig/ath/if_ath.c madwifi-0.9.3/ath/if_ath.c ---- madwifi-0.9.3-orig/ath/if_ath.c 2007-03-03 07:20:46.000000000 +0100 -+++ madwifi-0.9.3/ath/if_ath.c 2007-03-27 20:02:15.004192220 +0200 -@@ -903,7 +903,8 @@ - - if (autocreatemode != -1) { - rtnl_lock(); -- error = ieee80211_create_vap(ic, "ath%d", dev, -+ /*error = ieee80211_create_vap(ic, "ath%d", dev,*/ -+ error = ieee80211_create_vap(ic, "wlan%d", dev, - autocreatemode, IEEE80211_CLONE_BSSID); - rtnl_unlock(); - if (error) -@@ -9730,7 +9731,7 @@ - }; - static ctl_table ath_ath_table[] = { - { .ctl_name = DEV_ATH, -- .procname = "ath", -+ .procname = "wlan", - .mode = 0555, - .child = ath_static_sysctls - }, { 0 } -diff -uNr madwifi-0.9.3-orig/ath_hal/ah_os.c madwifi-0.9.3/ath_hal/ah_os.c ---- madwifi-0.9.3-orig/ath_hal/ah_os.c 2007-02-21 07:46:24.000000000 +0100 -+++ madwifi-0.9.3/ath_hal/ah_os.c 2007-03-27 20:02:05.571774828 +0200 -@@ -503,7 +503,7 @@ - }; - static ctl_table ath_ath_table[] = { - { .ctl_name = DEV_ATH, -- .procname = "ath", -+ .procname = "wlan", - .mode = 0555, - .child = ath_hal_table - }, { 0 } -diff -uNr madwifi-0.9.3-orig/ath_rate/amrr/amrr.c madwifi-0.9.3/ath_rate/amrr/amrr.c ---- madwifi-0.9.3-orig/ath_rate/amrr/amrr.c 2007-02-21 07:46:24.000000000 +0100 -+++ madwifi-0.9.3/ath_rate/amrr/amrr.c 2007-03-27 20:01:47.450972963 +0200 -@@ -530,7 +530,7 @@ - }; - static ctl_table ath_ath_table[] = { - { .ctl_name = DEV_ATH, -- .procname = "ath", -+ .procname = "wlan", - .mode = 0555, - .child = ath_rate_table - }, { 0 } -diff -uNr madwifi-0.9.3-orig/ath_rate/onoe/onoe.c madwifi-0.9.3/ath_rate/onoe/onoe.c ---- madwifi-0.9.3-orig/ath_rate/onoe/onoe.c 2007-02-21 07:46:24.000000000 +0100 -+++ madwifi-0.9.3/ath_rate/onoe/onoe.c 2007-03-27 20:01:35.362438027 +0200 -@@ -477,7 +477,7 @@ - }; - static ctl_table ath_ath_table[] = { - { .ctl_name = DEV_ATH, -- .procname = "ath", -+ .procname = "wlan", - .mode = 0555, - .child = ath_rate_table - }, { 0 } -diff -uNr madwifi-0.9.3-orig/tools/80211debug.c madwifi-0.9.3/tools/80211debug.c ---- madwifi-0.9.3-orig/tools/80211debug.c 2006-12-08 18:20:08.000000000 +0100 -+++ madwifi-0.9.3/tools/80211debug.c 2007-03-27 20:07:02.808926708 +0200 -@@ -183,7 +183,7 @@ - int - main(int argc, char *argv[]) - { -- const char *ifname = "ath0"; -+ const char *ifname = "wlan0"; - const char *cp, *tp; - const char *sep; - int op, i; -diff -uNr madwifi-0.9.3-orig/tools/80211stats.c madwifi-0.9.3/tools/80211stats.c ---- madwifi-0.9.3-orig/tools/80211stats.c 2007-02-07 04:18:49.000000000 +0100 -+++ madwifi-0.9.3/tools/80211stats.c 2007-03-27 20:04:16.297559340 +0200 -@@ -252,7 +252,7 @@ - struct iwreq iwr; - int allnodes = 0; - -- const char *ifname = "ath0"; -+ const char *ifname = "wlan0"; - - s = socket(AF_INET, SOCK_DGRAM, 0); - if (s < 0) -diff -uNr madwifi-0.9.3-orig/tools/athdebug.c madwifi-0.9.3/tools/athdebug.c ---- madwifi-0.9.3-orig/tools/athdebug.c 2006-12-08 18:20:08.000000000 +0100 -+++ madwifi-0.9.3/tools/athdebug.c 2007-03-27 20:03:32.583625082 +0200 -@@ -185,7 +185,7 @@ - #ifdef __linux__ - const char *ifname = "wifi0"; - #else -- const char *ifname = "ath0"; -+ const char *ifname = "wlan0"; - #endif - const char *cp, *tp; - const char *sep; -@@ -209,7 +209,7 @@ - #ifdef __linux__ - snprintf(oid, sizeof(oid), "dev.%s.debug", ifname); - #else -- snprintf(oid, sizeof(oid), "dev.ath.%s.debug", ifname+3); -+ snprintf(oid, sizeof(oid), "dev.wlan.%s.debug", ifname+3); - #endif - debuglen = sizeof(debug); - if (sysctlbyname(oid, &debug, &debuglen, NULL, 0) < 0) -diff -uNr madwifi-0.9.3-orig/tools/athstats.c madwifi-0.9.3/tools/athstats.c ---- madwifi-0.9.3-orig/tools/athstats.c 2007-01-12 03:45:36.000000000 +0100 -+++ madwifi-0.9.3/tools/athstats.c 2007-03-27 20:03:54.176580535 +0200 -@@ -229,7 +229,7 @@ - #ifdef __linux__ - const char *ifname = "wifi0"; - #else -- const char *ifname = "ath0"; -+ const char *ifname = "wlan0"; - #endif - int s; - struct ifreq ifr; diff --git a/packages/madwifi/madwifi-modules-0.9.3/madwifi-skbpanic.patch b/packages/madwifi/madwifi-modules-0.9.3/madwifi-skbpanic.patch deleted file mode 100644 index bad4989f60..0000000000 --- a/packages/madwifi/madwifi-modules-0.9.3/madwifi-skbpanic.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- madwifi-0.9.3-orig/ath/if_ath.c 2007-04-12 12:53:01.000000000 +0200 -+++ madwifi-0.9.3/ath/if_ath.c 2007-04-12 12:40:37.078056016 +0200 -@@ -5634,6 +5634,13 @@ - sc->sc_devstats.rx_packets++; - sc->sc_devstats.rx_bytes += len; - -+ if((skb->tail + len) > skb->end) { -+ printk(" --------- found dodgy wifi rx skb_put\n"); -+ dev_kfree_skb(skb); -+ skb = NULL; -+ goto rx_next; -+ } -+ - skb_put(skb, len); - skb->protocol = __constant_htons(ETH_P_CONTROL); - diff --git a/packages/madwifi/madwifi-modules_0.9.3.bb b/packages/madwifi/madwifi-modules_0.9.3.bb deleted file mode 100644 index 25c5aae1d3..0000000000 --- a/packages/madwifi/madwifi-modules_0.9.3.bb +++ /dev/null @@ -1,57 +0,0 @@ -DESCRIPTION = "Linux driver for 802.11a/b/g universal NIC cards using Atheros chip sets" -SECTION = "base" -PRIORITY = "optional" -LICENSE = "GPL" -RDEPENDS = "kernel (${KERNEL_VERSION}) wireless-tools (>=27)" -DEPENDS = "virtual/kernel" -CONFLICTS = "hostap-daemon (<0.4.8)" -SRCDATE = "20050803" -PV = "0.9.3" - -SRC_URI = "${SOURCEFORGE_MIRROR}/madwifi/madwifi-${PV}.tar.bz2 \ - file://madwifi-devname.patch;patch=1 \ - file://madwifi-skbpanic.patch;patch=1" -S = "${WORKDIR}/madwifi-${PV}" - -inherit module-base - -# Hack Alert :D -ARCH_mipsel = "mips" -EXTRA_OEMAKE_mtx-1 = "TARGET=mips-le-elf KERNELPATH=${STAGING_KERNEL_DIR} KERNELRELEASE=${KERNEL_VERSION} TOOLPREFIX=${TARGET_PREFIX} \ -COPTS='-G 0 -mno-abicalls -fno-pic -Wa,--trap -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls -DATH_PCI'" -EXTRA_OEMAKE_mtx-2 = "TARGET=mips-le-elf KERNELPATH=${STAGING_KERNEL_DIR} KERNELRELEASE=${KERNEL_VERSION} TOOLPREFIX=${TARGET_PREFIX} \ -COPTS='-G 0 -mno-abicalls -fno-pic -Wa,--trap -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls -DATH_PCI'" - -do_compile() { - oe_runmake - cd tools; oe_runmake -} - -do_install() { - oe_runmake DESTDIR=${D} install - install -d ${D}/${sbindir} - cd tools; - oe_runmake DESTDIR=${D} BINDIR=${sbindir} install - install -m 755 athchans athctrl athkey ${D}/${sbindir} -} - -do_stage() { - # hostapd and wpa_supplicant need these files - install -d ${STAGING_INCDIR}/madwifi/net80211/ ${STAGING_INCDIR}/madwifi/include - install -m 0644 net80211/*.h ${STAGING_INCDIR}/madwifi/net80211/ - install -m 0644 include/compat.h ${STAGING_INCDIR}/madwifi/include/ - cd ${STAGING_INCDIR}/madwifi/net80211/ - rm -f compat.h; ln -s ../include/compat.h . -} - -pkg_postinst() { -if test "x$D" != "x"; then - exit 1 -else - depmod -ae -fi -} - -PACKAGES = "${PN}-dbg madwifi-tools ${PN}" -FILES_${PN} = "/lib/modules/" -FILES_madwifi-tools = "/usr/sbin/" diff --git a/packages/madwifi/madwifi-modules_cvs-bsd.bb b/packages/madwifi/madwifi-modules_cvs-bsd.bb deleted file mode 100644 index d570816fc1..0000000000 --- a/packages/madwifi/madwifi-modules_cvs-bsd.bb +++ /dev/null @@ -1,52 +0,0 @@ -DESCRIPTION = "Linux driver for 802.11a/b/g universal NIC cards using Atheros chip sets" -SECTION = "base" -PRIORITY = "optional" -LICENSE = "GPL" -RDEPENDS = "kernel (${KERNEL_VERSION})" -DEPENDS = "virtual/kernel" -PV = "1.0.0+cvs${SRCDATE}-bsd" -DEFAULT_PREFERENCE = "-1" - -SRC_URI = "cvs://anonymous@madwifi.cvs.sourceforge.net/cvsroot/madwifi;module=madwifi;tag=BSD;date=${SRCDATE}" - -S = "${WORKDIR}/madwifi" - -inherit module-base - -# Hack Alert :D -ARCH_mipsel = "mips" -EXTRA_OEMAKE_mtx-1 = "TARGET=mips-le-elf KERNELPATH=${STAGING_KERNEL_DIR} KERNELRELEASE=${KERNEL_VERSION} TOOLPREFIX=${TARGET_PREFIX} \ -EXTRA_OEMAKE_mtx-2 = "TARGET=mips-le-elf KERNELPATH=${STAGING_KERNEL_DIR} KERNELRELEASE=${KERNEL_VERSION} TOOLPREFIX=${TARGET_PREFIX} \ -COPTS='-G 0 -mno-abicalls -fno-pic -Wa,--trap -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls -DATH_PCI'" - -do_compile() { - oe_runmake - cd tools; oe_runmake -} - -do_install() { - oe_runmake DESTDIR=${D} install - install -d ${D}${sbindir} - cd tools; - oe_runmake DESTDIR=${D} BINDIR=${sbindir} install - install -m 755 athchans athctrl athkey ${D}${sbindir} -} - -do_stage() { - # hostapd needs these files - install -d ${STAGING_INCDIR}/net80211 - install -m 0644 net80211/*.h ${STAGING_INCDIR}/net80211 - install -m 0644 include/compat.h ${STAGING_INCDIR}/net80211 -} - -pkg_postinst() { -if test "x$D" != "x"; then - exit 1 -else - depmod -ae -fi -} - -PACKAGES = "${PN}-dbg madwifi-tools ${PN}" -FILES_${PN} = "/lib/modules/" -FILES_madwifi-tools = "/usr/" diff --git a/packages/madwifi/madwifi-modules_cvs.bb b/packages/madwifi/madwifi-modules_cvs.bb deleted file mode 100644 index c5cf6cf806..0000000000 --- a/packages/madwifi/madwifi-modules_cvs.bb +++ /dev/null @@ -1,55 +0,0 @@ -DESCRIPTION = "Linux driver for 802.11a/b/g universal NIC cards using Atheros chip sets" -SECTION = "base" -PRIORITY = "optional" -LICENSE = "GPL" -RDEPENDS = "kernel (${KERNEL_VERSION})" -DEPENDS = "virtual/kernel" -SRCDATE = "20050803" -PV = "1.0.0+cvs${SRCDATE}" - -SRC_URI = "cvs://anonymous@madwifi.cvs.sourceforge.net/cvsroot/madwifi;module=madwifi;date=${SRCDATE}" - -S = "${WORKDIR}/madwifi" - -inherit module-base - -# Hack Alert :D -ARCH_mipsel = "mips" -EXTRA_OEMAKE_mtx-1 = "TARGET=mips-le-elf KERNELPATH=${STAGING_KERNEL_DIR} KERNELRELEASE=${KERNEL_VERSION} TOOLPREFIX=${TARGET_PREFIX} \ -COPTS='-G 0 -mno-abicalls -fno-pic -Wa,--trap -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls -DATH_PCI'" -EXTRA_OEMAKE_mtx-2 = "TARGET=mips-le-elf KERNELPATH=${STAGING_KERNEL_DIR} KERNELRELEASE=${KERNEL_VERSION} TOOLPREFIX=${TARGET_PREFIX} \ -COPTS='-G 0 -mno-abicalls -fno-pic -Wa,--trap -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls -DATH_PCI'" - -do_compile() { - oe_runmake - cd tools; oe_runmake -} - -do_install() { - oe_runmake DESTDIR=${D} install - install -d ${D}/${sbindir} - cd tools; - oe_runmake DESTDIR=${D} BINDIR=${sbindir} install - install -m 755 athchans athctrl athkey ${D}/${sbindir} -} - -do_stage() { - # hostapd and wpa_supplicant need these files - install -d ${STAGING_INCDIR}/madwifi/net80211/ ${STAGING_INCDIR}/madwifi/include - install -m 0644 net80211/*.h ${STAGING_INCDIR}/madwifi/net80211/ - install -m 0644 include/compat.h ${STAGING_INCDIR}/madwifi/include/ - cd ${STAGING_INCDIR}/madwifi/net80211/ - rm -f compat.h; ln -s ../include/compat.h . -} - -pkg_postinst() { -if test "x$D" != "x"; then - exit 1 -else - depmod -ae -fi -} - -PACKAGES = "${PN}-dbg madwifi-tools ${PN}" -FILES_${PN} = "/lib/modules/" -FILES_madwifi-tools = "/usr/" diff --git a/packages/madwifi/madwifi-ng_r.inc b/packages/madwifi/madwifi-ng_r.inc deleted file mode 100644 index 8fc3065eb9..0000000000 --- a/packages/madwifi/madwifi-ng_r.inc +++ /dev/null @@ -1,63 +0,0 @@ -DESCRIPTION = "Linux driver for 802.11a/b/g universal NIC cards using Atheros chip sets" -SECTION = "base" -PRIORITY = "optional" -LICENSE = "GPL" -RDEPENDS = "kernel (${KERNEL_VERSION})" -DEPENDS = "virtual/kernel" -PR ="r5" - -WACKELF_SRC_URI = "" -WACKELF_SRC_URI_ixp4xx = " file://20-xscale-VFP-wackelf.patch;patch=1" -WACKELF_SRC_URI_compulab-pxa270 = " file://20-xscale-VFP-wackelf.patch;patch=1" - -SRCNAME = "${PN}" -SRC_URI = "http://snapshots.madwifi.org/madwifi-trunk/${SRCNAME}-${PV}.tar.gz \ - file://10-xscale-be-elf-copts.patch;patch=1 \ - file://10-xscale-le-elf-copts.patch;patch=1 \ - file://10-sh4-le-elf-copts.patch;patch=1 \ - ${WACKELF_SRC_URI}" - -S = "${WORKDIR}/${SRCNAME}-${PV}" - -inherit module-base - -ARCH_efika="powerpc" -ARCH_dht-walnut="ppc" -ARCH_magicbox="ppc" -ARCH_sequoia="ppc" - -EXTRA_OEMAKE = "LDFLAGS= KERNELPATH=${STAGING_KERNEL_DIR} KERNELRELEASE=${KERNEL_VERSION} TOOLPREFIX=${TARGET_PREFIX}" - -EXTRA_OEMAKE_prepend_ixp4xxle = "TARGET=xscale-le-elf " -EXTRA_OEMAKE_prepend_ixp4xxbe = "TARGET=xscale-be-elf " - - -do_compile() { - unset LDFLAGS - oe_runmake all -} - -do_stage() { - install -d ${STAGING_INCDIR}/${PN}/include - install -d ${STAGING_INCDIR}/${PN}/net80211 - cp --dereference include/compat.h ${STAGING_INCDIR}/${PN}/include/ - cp --dereference net80211/*.h ${STAGING_INCDIR}/${PN}/net80211/ -} - -do_install() { - install -d ${D}${sbindir} - unset LDFLAGS - oe_runmake DESTDIR=${D} BINDIR=${sbindir} install -} - -pkg_postinst() { -if test "x$D" != "x"; then - exit 1 -else - depmod -ae -fi -} - -PACKAGES += "${PN}-modules ${PN}-tools" -FILES_${PN}-modules = "/lib/modules/" -FILES_${PN}-tools = "/usr/" diff --git a/packages/madwifi/madwifi-ng_r2826-20071105.bb b/packages/madwifi/madwifi-ng_r2826-20071105.bb deleted file mode 100644 index 5301e3bd42..0000000000 --- a/packages/madwifi/madwifi-ng_r2826-20071105.bb +++ /dev/null @@ -1,14 +0,0 @@ -# Bitbake recipe for the madwifi-ng driver - -DEFAULT_PREFERENCE = "-1" -DEFAULT_PREFERENCE_alix = "1" -DEFAULT_PREFERENCE_mpc8323e-rdb = "1" - -# Disable stripping of kernel modules, since this action strips too -# much out, and the resulting module won't load. -INHIBIT_PACKAGE_STRIP = "1" - -require madwifi-ng_r.inc - -# PR set after the include, to override what's set in the included file. -PR = "r1" diff --git a/packages/madwifi/madwifi-ng_r3314-20080131.bb b/packages/madwifi/madwifi-ng_r3314-20080131.bb deleted file mode 100644 index fb5cde036f..0000000000 --- a/packages/madwifi/madwifi-ng_r3314-20080131.bb +++ /dev/null @@ -1,14 +0,0 @@ -# Bitbake recipe for the madwifi-ng driver - -# Disable stripping of kernel modules, since this action strips too -# much out, and the resulting module won't load. -INHIBIT_PACKAGE_STRIP = "1" - -require madwifi-ng_r.inc - -SRC_URI += " \ - file://30-define-ioreadwrite32be-for-little-endian-too.patch;patch=1 \ - " - -# PR set after the include, to override what's set in the included file. -PR = "r6" diff --git a/packages/madwifi/madwifi-ng_r3837-20080802.bb b/packages/madwifi/madwifi-ng_r3837-20080802.bb deleted file mode 100644 index bf14c33f83..0000000000 --- a/packages/madwifi/madwifi-ng_r3837-20080802.bb +++ /dev/null @@ -1,18 +0,0 @@ -# Bitbake recipe for the madwifi-ng driver - -# Disable stripping of kernel modules, since this action strips too -# much out, and the resulting module won't load. -INHIBIT_PACKAGE_STRIP = "1" - -require madwifi-ng_r.inc - -# Due to a minor Makefile restructuring, newer versions require an updated -# patch; this is really ugly and some alternate way to do this that's more -# generic should be figured out. -WACKELF_SRC_URI_ixp4xx = " file://20-xscale-VFP-wackelf-v2.patch;patch=1" -WACKELF_SRC_URI_compulab-pxa270 = " file://20-xscale-VFP-wackelf-v2.patch;patch=1" - -SRCNAME = "madwifi-trunk" - -# PR set after the include, to override what's set in the included file. -PR = "r1" diff --git a/packages/madwifi/madwifi-ng_r3878-20081204.bb b/packages/madwifi/madwifi-ng_r3878-20081204.bb deleted file mode 100644 index 3db8244158..0000000000 --- a/packages/madwifi/madwifi-ng_r3878-20081204.bb +++ /dev/null @@ -1,25 +0,0 @@ -# Bitbake recipe for the madwifi-ng driver - -# This recipe needs testing by other than ixp4xx distros before -# it can become the default: -DEFAULT_PREFERENCE = "-1" -DEFAULT_PREFERENCE_slugos = "1" - -# Disable stripping of kernel modules, since this action strips too -# much out, and the resulting module won't load. -INHIBIT_PACKAGE_STRIP = "1" - -require madwifi-ng_r.inc - -SRCNAME = "madwifi-trunk" - -# PR set after the include, to override what's set in the included file. -PR = "r0" - -# It's not clear that we even need the wackelf patches any longer; certainly -# they are not required for ixp4xx builds. This needs testing on pxa270. -WACKELF_SRC_URI_ixp4xx = "" -WACKELF_SRC_URI_compulab-pxa270 = "" - -# This works for EABI as well as the original OABI IXP4xx. -EXTRA_OEMAKE = "V=1 KERNELPATH=${STAGING_KERNEL_DIR} KERNELRELEASE=${KERNEL_VERSION} TOOLPREFIX=${TARGET_PREFIX}" |