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