add madwifi-old
[openwrt/svn-archive/archive.git] / openwrt / target / linux / package / madwifi-old / patches / 100-kernel_cflags.patch
1 diff -urN madwifi.old/Makefile madwifi.dev/Makefile
2 --- madwifi.old/Makefile 2005-07-13 02:35:11.000000000 +0200
3 +++ madwifi.dev/Makefile 2005-08-13 22:39:26.973649096 +0200
4 @@ -46,7 +46,7 @@
5 # NB: the order is important here
6 DIRS= ${ATH_HAL} ${ATH_RATE} ${WLAN} ${ATH}
7
8 -all: configcheck
9 +all:
10 mkdir -p ${SYMBOLSDIR}
11 for i in ${DIRS}; do \
12 $(MAKE) -C $$i || exit 1; \
13 diff -urn madwifi.old/hal/public/mips-le-elf.inc madwifi.dev/hal/public/mips-le-elf.inc
14 --- madwifi.old/hal/public/mips-le-elf.inc 2005-08-13 22:36:45.646174000 +0200
15 +++ madwifi.dev/hal/public/mips-le-elf.inc 2005-08-13 22:37:52.506010360 +0200
16 @@ -63,5 +63,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 -EL -mno-abicalls -fno-pic -mips32 -Wa,--trap \
22 -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls
23 diff -urn madwifi.old/hal/public/mips-be-elf.inc madwifi.dev/hal/public/mips-be-elf.inc
24 --- madwifi.old/hal/public/mips-be-elf.inc 2005-08-13 22:36:45.646174000 +0200
25 +++ madwifi.dev/hal/public/mips-be-elf.inc 2005-08-13 22:37:52.506010360 +0200
26 @@ -66,5 +66,5 @@
27
28 LDOPTS= -EB
29 COPTS+= -DAH_BYTE_ORDER=AH_BIG_ENDIAN
30 -COPTS+= -G 0 -EB -mno-abicalls -fno-pic -mips2 -Wa,--trap \
31 +COPTS+= -G 0 -EB -mno-abicalls -fno-pic -mips32 -Wa,--trap \
32 -fno-strict-aliasing -fno-common -fomit-frame-pointer -mlong-calls