5f1e70b797b6fcd357ebb05af6167fcf8ac1895a
[openwrt.git] / package / madwifi / patches / 100-kernel_cflags.patch
1 Index: madwifi-ng-r2756-20071018/hal/public/mips-be-elf.inc
2 ===================================================================
3 --- madwifi-ng-r2756-20071018.orig/hal/public/mips-be-elf.inc 2007-10-24 06:20:16.897652218 +0200
4 +++ madwifi-ng-r2756-20071018/hal/public/mips-be-elf.inc 2007-10-24 06:20:16.989657465 +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-r2756-20071018/hal/public/mips-le-elf.inc
13 ===================================================================
14 --- madwifi-ng-r2756-20071018.orig/hal/public/mips-le-elf.inc 2007-10-24 06:20:16.901652447 +0200
15 +++ madwifi-ng-r2756-20071018/hal/public/mips-le-elf.inc 2007-10-24 06:20:17.001658146 +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-r2756-20071018/hal/public/xscale-be-elf.inc
24 ===================================================================
25 --- madwifi-ng-r2756-20071018.orig/hal/public/xscale-be-elf.inc 2007-10-24 06:20:16.913653133 +0200
26 +++ madwifi-ng-r2756-20071018/hal/public/xscale-be-elf.inc 2007-10-24 06:20:17.005658375 +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.044209 seconds and 3 git commands to generate.