summaryrefslogtreecommitdiff
path: root/package/madwifi
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2008-01-15 00:01:05 +0000
committerTravis Kemen <thepeople@openwrt.org>2008-01-15 00:01:05 +0000
commit2642f5c065cdd993086863185b2aace31ba43f3c (patch)
treec262bacfa2b73bebb465535c28d29b85c2f5d11e /package/madwifi
parented57d3042b03a8c06022d70ac656c4cf5c216b1c (diff)
downloadmtk-20170518-2642f5c065cdd993086863185b2aace31ba43f3c.zip
mtk-20170518-2642f5c065cdd993086863185b2aace31ba43f3c.tar.gz
mtk-20170518-2642f5c065cdd993086863185b2aace31ba43f3c.tar.bz2
fix madwifi compile for iop32x
SVN-Revision: 10198
Diffstat (limited to 'package/madwifi')
-rw-r--r--package/madwifi/patches/100-kernel_cflags.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/madwifi/patches/100-kernel_cflags.patch b/package/madwifi/patches/100-kernel_cflags.patch
index 5298db2..02c7734 100644
--- a/package/madwifi/patches/100-kernel_cflags.patch
+++ b/package/madwifi/patches/100-kernel_cflags.patch
@@ -31,3 +31,15 @@ Index: madwifi-dfs-r3053/hal/public/xscale-be-elf.inc
-COPTS+= -march=armv4 -mbig-endian -fno-strict-aliasing -fno-common -mapcs-32 \
+COPTS+= -march=armv5te -mbig-endian -fno-strict-aliasing -fno-common \
-mtune=xscale -mshort-load-bytes
+Index: madwifi-dfs-r3053/hal/public/xscale-le-elf.inc
+===================================================================
+--- madwifi-dfs-r3053.orig/hal/public/xscale-le-elf.inc 2007-12-12 22:20:33.000000000 -0600
++++ madwifi-dfs-r3053/hal/public/xscale-le-elf.inc 2008-01-14 17:24:29.000000000 -0600
+@@ -78,5 +78,5 @@
+
+ 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
++COPTS+= -march=armv4 -mlittle-endian -fno-strict-aliasing -fno-common \
++ -mtune=xscale -mshort-load-bytes