upgrade madwifi-ng to r1394-20060113
[openwrt/svn-archive/archive.git] / openwrt / target / linux / package / madwifi / patches / 100-kernel_cflags.patch
1 diff -urN madwifi.old/hal/public/mips-be-elf.inc madwifi.new/hal/public/mips-be-elf.inc
2 --- madwifi.old/hal/public/mips-be-elf.inc 2005-11-02 15:33:27.000000000 +0100
3 +++ madwifi.new/hal/public/mips-be-elf.inc 2006-01-13 12:15:02.000000000 +0100
4 @@ -66,5 +66,5 @@
5
6 LDOPTS= -EB
7 COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
8 -COPTS+= -G 0 -EB -mno-abicalls -fno-pic -mips2 -Wa,--trap \
9 +COPTS+= -G 0 -mno-abicalls -fno-pic -mips32 -Wa,--trap \
10 -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
11 diff -urN madwifi.old/hal/public/mips-le-elf.inc madwifi.new/hal/public/mips-le-elf.inc
12 --- madwifi.old/hal/public/mips-le-elf.inc 2005-11-02 15:33:27.000000000 +0100
13 +++ madwifi.new/hal/public/mips-le-elf.inc 2006-01-13 12:15:02.000000000 +0100
14 @@ -63,5 +63,5 @@
15
16 LDOPTS= -EL
17 COPTS+= -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN
18 -COPTS+= -G 0 -EL -mno-abicalls -fno-pic -mips2 -Wa,--trap \
19 +COPTS+= -G 0 -mno-abicalls -fno-pic -mips32 -Wa,--trap \
20 -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
21 diff -urN madwifi.old/Makefile madwifi.new/Makefile
22 --- madwifi.old/Makefile 2006-01-06 23:52:45.000000000 +0100
23 +++ madwifi.new/Makefile 2006-01-13 12:15:57.000000000 +0100
24 @@ -53,7 +53,7 @@
25
26 all: modules tools
27
28 -modules: configcheck
29 +modules:
30 mkdir -p ${SYMBOLSDIR}
31 for i in ${DIRS_MODULES}; do \
32 $(MAKE) -C $$i || exit 1; \