From 67dc0110b5cb908580c5ff2862b6f9d7e418db91 Mon Sep 17 00:00:00 2001 From: thepeople Date: Tue, 15 Jan 2008 00:01:05 +0000 Subject: fix madwifi compile for iop32x git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10198 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/madwifi/patches/100-kernel_cflags.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'package/madwifi/patches') diff --git a/package/madwifi/patches/100-kernel_cflags.patch b/package/madwifi/patches/100-kernel_cflags.patch index 5298db2b2..02c7734e1 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 -- cgit v1.2.3