summaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-08-30 03:21:23 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-08-30 03:21:23 +0000
commite2ece674fce1309ff962e34f5ec86fc6994886d6 (patch)
tree06ab42d998599f3b790363302db2643f360642ea /package/madwifi/patches
parente63b288aa4ee95b54660914ccb719f7d5ee28945 (diff)
add no_werror patch again, fix xscale cflags
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4704 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches')
-rw-r--r--package/madwifi/patches/100-kernel_cflags.patch2
-rw-r--r--package/madwifi/patches/101-no_werror.patch11
2 files changed, 12 insertions, 1 deletions
diff --git a/package/madwifi/patches/100-kernel_cflags.patch b/package/madwifi/patches/100-kernel_cflags.patch
index d6320f59f..39ac1437e 100644
--- a/package/madwifi/patches/100-kernel_cflags.patch
+++ b/package/madwifi/patches/100-kernel_cflags.patch
@@ -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/package/madwifi/patches/101-no_werror.patch b/package/madwifi/patches/101-no_werror.patch
new file mode 100644
index 000000000..d71021eb0
--- /dev/null
+++ b/package/madwifi/patches/101-no_werror.patch
@@ -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)