madwifi: minor ap scanning bugfix
[openwrt.git] / package / madwifi / patches / 100-kernel_cflags.patch
1 Index: madwifi-trunk-r3314/hal/public/mips-be-elf.inc
2 ===================================================================
3 --- madwifi-trunk-r3314.orig/hal/public/mips-be-elf.inc 2008-02-20 18:10:46.339155111 +0100
4 +++ madwifi-trunk-r3314/hal/public/mips-be-elf.inc 2008-02-20 18:10:46.439160810 +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-trunk-r3314/hal/public/mips-le-elf.inc
13 ===================================================================
14 --- madwifi-trunk-r3314.orig/hal/public/mips-le-elf.inc 2008-02-20 18:10:46.347155567 +0100
15 +++ madwifi-trunk-r3314/hal/public/mips-le-elf.inc 2008-02-20 18:10:46.443161036 +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-trunk-r3314/hal/public/xscale-be-elf.inc
24 ===================================================================
25 --- madwifi-trunk-r3314.orig/hal/public/xscale-be-elf.inc 2008-02-20 18:10:46.351155793 +0100
26 +++ madwifi-trunk-r3314/hal/public/xscale-be-elf.inc 2008-02-20 18:10:46.451161492 +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
34 Index: madwifi-trunk-r3314/hal/public/xscale-le-elf.inc
35 ===================================================================
36 --- madwifi-trunk-r3314.orig/hal/public/xscale-le-elf.inc 2008-02-20 18:10:46.363156477 +0100
37 +++ madwifi-trunk-r3314/hal/public/xscale-le-elf.inc 2008-02-20 18:10:46.455161721 +0100
38 @@ -79,4 +79,4 @@
39 LDOPTS= -EL
40 COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
41 COPTS+= -march=armv4 -mlittle-endian -fno-strict-aliasing -fno-common \
42 - -mapcs-32 -mtune=xscale -mshort-load-bytes
43 + -mtune=xscale -mshort-load-bytes
This page took 0.039155 seconds and 5 git commands to generate.