huge madwifi update - use a madwifi-ng-refcount snapshot as base, includes lots of...
[openwrt/svn-archive/archive.git] / package / madwifi / patches / 100-kernel_cflags.patch
1 diff -urN madwifi-ng-refcount-r2313-20070505.old/hal/public/mips-be-elf.inc madwifi-ng-refcount-r2313-20070505.dev/hal/public/mips-be-elf.inc
2 --- madwifi-ng-refcount-r2313-20070505.old/hal/public/mips-be-elf.inc 2006-05-27 04:48:16.000000000 +0200
3 +++ madwifi-ng-refcount-r2313-20070505.dev/hal/public/mips-be-elf.inc 2007-05-13 18:17:54.962213512 +0200
4 @@ -71,5 +71,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-ng-refcount-r2313-20070505.old/hal/public/mips-le-elf.inc madwifi-ng-refcount-r2313-20070505.dev/hal/public/mips-le-elf.inc
12 --- madwifi-ng-refcount-r2313-20070505.old/hal/public/mips-le-elf.inc 2006-05-27 04:48:16.000000000 +0200
13 +++ madwifi-ng-refcount-r2313-20070505.dev/hal/public/mips-le-elf.inc 2007-05-13 18:17:54.963213360 +0200
14 @@ -68,5 +68,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-ng-refcount-r2313-20070505.old/Makefile madwifi-ng-refcount-r2313-20070505.dev/Makefile
22 --- madwifi-ng-refcount-r2313-20070505.old/Makefile 2007-03-08 20:59:06.000000000 +0100
23 +++ madwifi-ng-refcount-r2313-20070505.dev/Makefile 2007-05-13 18:17:54.963213360 +0200
24 @@ -56,7 +56,7 @@
25
26 all: modules tools
27
28 -modules: configcheck svnversion.h
29 +modules: svnversion.h
30 ifdef LINUX24
31 for i in $(DIRS_MODULES); do \
32 $(MAKE) -C $$i || exit 1; \