rt2x00 fixes (thanks to sn9):
[openwrt.git] / package / madwifi / patches / 100-kernel_cflags.patch
1 Index: madwifi-ng-r2568-20070710/hal/public/mips-be-elf.inc
2 ===================================================================
3 --- madwifi-ng-r2568-20070710.orig/hal/public/mips-be-elf.inc 2007-07-23 01:48:38.974201182 +0200
4 +++ madwifi-ng-r2568-20070710/hal/public/mips-be-elf.inc 2007-07-23 01:48:39.166212125 +0200
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-r2568-20070710/hal/public/mips-le-elf.inc
13 ===================================================================
14 --- madwifi-ng-r2568-20070710.orig/hal/public/mips-le-elf.inc 2007-07-23 01:48:38.982201640 +0200
15 +++ madwifi-ng-r2568-20070710/hal/public/mips-le-elf.inc 2007-07-23 01:48:39.170212355 +0200
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-r2568-20070710/hal/public/xscale-be-elf.inc
24 ===================================================================
25 --- madwifi-ng-r2568-20070710.orig/hal/public/xscale-be-elf.inc 2007-07-23 01:48:38.990202093 +0200
26 +++ madwifi-ng-r2568-20070710/hal/public/xscale-be-elf.inc 2007-07-23 01:48:39.194213721 +0200
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
This page took 0.03996 seconds and 5 git commands to generate.