add no_werror patch again, fix xscale cflags
authorFelix Fietkau <nbd@openwrt.org>
Wed, 30 Aug 2006 03:21:23 +0000 (03:21 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 30 Aug 2006 03:21:23 +0000 (03:21 +0000)
SVN-Revision: 4704

openwrt/package/madwifi/patches/100-kernel_cflags.patch
openwrt/package/madwifi/patches/101-no_werror.patch [new file with mode: 0644]

index d6320f59fee4a66debc17ffdd8c22b95d74668f5..39ac1437e118c7da38c4a854220f79a178763be1 100644 (file)
@@ -26,7 +26,7 @@ diff -ur madwifi.old/hal/public/xscale-be-elf.inc madwifi.dev/hal/public/xscale-
  LDOPTS=       -EB
  COPTS+=       -DAH_BYTE_ORDER=AH_BIG_ENDIAN
 -COPTS+= -march=armv4 -mbig-endian -fno-strict-aliasing -fno-common -mapcs-32 \
-+COPTS+= -march=armv5te -mcpu=xscale -mbig-endian -fno-strict-aliasing -fno-common \
++COPTS+= -march=armv5te -mtune=xscale -mbig-endian -fno-strict-aliasing -fno-common \
        -mtune=xscale  -mshort-load-bytes -msoft-float -mfp=2
 diff -ur madwifi.old/Makefile madwifi.dev/Makefile
 --- madwifi.old/Makefile       2006-07-14 07:15:56.000000000 +0200
diff --git a/openwrt/package/madwifi/patches/101-no_werror.patch b/openwrt/package/madwifi/patches/101-no_werror.patch
new file mode 100644 (file)
index 0000000..d71021e
--- /dev/null
@@ -0,0 +1,11 @@
+--- madwifi.old/Makefile.inc   2006-07-14 07:15:56.000000000 +0200
++++ madwifi.dev/Makefile.inc   2006-08-30 05:20:27.000000000 +0200
+@@ -181,7 +181,7 @@
+ # 
+ TOOLS=  $(DEPTH)/tools 
+-COPTS+=       -Werror
++# COPTS+=     -Werror
+ INCS= -include $(obj)/$(DEPTH)/include/compat.h -I$(obj)/$(DEPTH)/include
+ ifeq ($(strip $(BUS)),AHB)