diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/madwifi/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/madwifi/files/10-xscale-be-elf-copts.patch | 8 | ||||
-rw-r--r-- | packages/madwifi/files/10-xscale-le-elf-copts.patch | 8 | ||||
-rw-r--r-- | packages/madwifi/madwifi-ng-modules_svn.bb | 41 | ||||
-rw-r--r-- | packages/meta/slugos-packages.bb | 1 |
5 files changed, 58 insertions, 0 deletions
diff --git a/packages/madwifi/files/.mtn2git_empty b/packages/madwifi/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/madwifi/files/.mtn2git_empty diff --git a/packages/madwifi/files/10-xscale-be-elf-copts.patch b/packages/madwifi/files/10-xscale-be-elf-copts.patch new file mode 100644 index 0000000000..e3158c045c --- /dev/null +++ b/packages/madwifi/files/10-xscale-be-elf-copts.patch @@ -0,0 +1,8 @@ +--- madwifi-ng/hal/public/xscale-be-elf.inc~ 2006-02-11 22:34:39.000000000 +1030 ++++ madwifi-ng/hal/public/xscale-be-elf.inc 2006-04-12 06:10:47.736463272 +0930 +@@ -73,4 +73,4 @@ + LDOPTS= -EB + COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN -DAH_REGOPS_FUNC + COPTS+= -march=armv4 -mbig-endian -fno-strict-aliasing -fno-common -mapcs-32 \ +- -mtune=xscale -mshort-load-bytes -msoft-float -mfp=2 ++ -mtune=xscale -malignment-traps -msoft-float -mfp=2 diff --git a/packages/madwifi/files/10-xscale-le-elf-copts.patch b/packages/madwifi/files/10-xscale-le-elf-copts.patch new file mode 100644 index 0000000000..393167c165 --- /dev/null +++ b/packages/madwifi/files/10-xscale-le-elf-copts.patch @@ -0,0 +1,8 @@ +--- madwifi-ng/hal/public/xscale-le-elf.inc~ 2006-04-12 06:09:56.669226672 +0930 ++++ madwifi-ng/hal/public/xscale-le-elf.inc 2006-04-12 05:52:11.658132968 +0930 +@@ -74,4 +74,4 @@ + LDOPTS= -EL + COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN -DAH_REGOPS_FUNC + COPTS+= -march=armv4 -mlittle-endian -fno-strict-aliasing -fno-common \ +- -mapcs-32 -mtune=xscale -mshort-load-bytes -msoft-float -mfp=2 ++ -mapcs-32 -mtune=xscale -malignment-traps -msoft-float -mfp=2 diff --git a/packages/madwifi/madwifi-ng-modules_svn.bb b/packages/madwifi/madwifi-ng-modules_svn.bb new file mode 100644 index 0000000000..5359ff3aa1 --- /dev/null +++ b/packages/madwifi/madwifi-ng-modules_svn.bb @@ -0,0 +1,41 @@ +DESCRIPTION = "Linux driver for 802.11a/b/g universal NIC cards using Atheros chip sets" +SECTION = "base" +PRIORITY = "optional" +MAINTAINER = "NSLU2 Linux <nslu2-linux@yahoogroups.com>" +LICENSE = "GPL" +RDEPENDS = "kernel (${KERNEL_VERSION})" +DEPENDS = "virtual/kernel" +PV = "r1503-20060415" + +SRC_URI = "http://snapshots.madwifi.org/madwifi-ng/madwifi-ng-${PV}.tar.gz \ + file://10-xscale-be-elf-copts.patch;patch=1 \ + file://10-xscale-le-elf-copts.patch;patch=1" + +S = "${WORKDIR}/madwifi-ng-${PV}" + +inherit module-base + +EXTRA_OEMAKE = "LDFLAGS= KERNELPATH=${STAGING_KERNEL_DIR} KERNELRELEASE=${KERNEL_VERSION} TOOLPREFIX=${TARGET_PREFIX}" + +EXTRA_OEMAKE_prepend_slugos = "TARGET=xscale-${ARCH_BYTE_SEX}-elf " + +do_compile() { + oe_runmake all +} + +do_install() { + install -d ${D}${sbindir} + oe_runmake DESTDIR=${D} BINDIR=${sbindir} install +} + +pkg_postinst() { +if test "x$D" != "x"; then + exit 1 +else + depmod -ae +fi +} + +PACKAGES = "madwifi-ng-tools ${PN}" +FILES_${PN} = "/lib/modules/" +FILES_madwifi-ng-tools = "/usr/" diff --git a/packages/meta/slugos-packages.bb b/packages/meta/slugos-packages.bb index 92013b8344..7f14c35e2f 100644 --- a/packages/meta/slugos-packages.bb +++ b/packages/meta/slugos-packages.bb @@ -93,6 +93,7 @@ SLUGOS_PACKAGES = "\ lsof \ lvm2 \ m4 \ + madwifi-ng-modules \ mailx \ make \ masqmail \ |