update madwifi to latest rev - works around some crashiness
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 100-kernel_cflags.patch
1 Index: madwifi-ng-r2834-20071106/hal/public/mips-be-elf.inc
2 ===================================================================
3 --- madwifi-ng-r2834-20071106.orig/hal/public/mips-be-elf.inc 2007-11-07 14:01:59.849362290 +0100
4 +++ madwifi-ng-r2834-20071106/hal/public/mips-be-elf.inc 2007-11-07 14:01:59.941367534 +0100
5 @@ -71,5 +71,5 @@
6
7 LDOPTS= -EB
8 COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
9 -COPTS+= -G 0 -EB -mno-abicalls -fno-pic -mips2 -Wa,--trap \
10 +COPTS+= -G 0 -mno-abicalls -fno-pic -mips32 -Wa,--trap \
11 -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
12 Index: madwifi-ng-r2834-20071106/hal/public/mips-le-elf.inc
13 ===================================================================
14 --- madwifi-ng-r2834-20071106.orig/hal/public/mips-le-elf.inc 2007-11-07 14:01:59.857362746 +0100
15 +++ madwifi-ng-r2834-20071106/hal/public/mips-le-elf.inc 2007-11-07 14:01:59.949367989 +0100
16 @@ -68,5 +68,5 @@
17
18 LDOPTS= -EL
19 COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
20 -COPTS+= -G 0 -EL -mno-abicalls -fno-pic -mips2 -Wa,--trap \
21 +COPTS+= -G 0 -mno-abicalls -fno-pic -mips32 -Wa,--trap \
22 -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
23 Index: madwifi-ng-r2834-20071106/hal/public/xscale-be-elf.inc
24 ===================================================================
25 --- madwifi-ng-r2834-20071106.orig/hal/public/xscale-be-elf.inc 2007-11-07 14:01:59.865363201 +0100
26 +++ madwifi-ng-r2834-20071106/hal/public/xscale-be-elf.inc 2007-11-07 14:01:59.953368219 +0100
27 @@ -77,5 +77,5 @@
28
29 LDOPTS= -EB
30 COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
31 -COPTS+= -march=armv4 -mbig-endian -fno-strict-aliasing -fno-common -mapcs-32 \
32 +COPTS+= -march=armv5te -mbig-endian -fno-strict-aliasing -fno-common \
33 -mtune=xscale -mshort-load-bytes