aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-10 11:22:12 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-10-10 11:22:12 +0000
commit7845532662c30c88e0b07a26e7364fbfae586351 (patch)
treedaa87eeff697243ef4c68293ab008b25884b043a
parent97c29e78acb5e90fd73de8ae5b4fc3f9b55c4a66 (diff)
downloadupstream-7845532662c30c88e0b07a26e7364fbfae586351.tar.gz
upstream-7845532662c30c88e0b07a26e7364fbfae586351.tar.bz2
upstream-7845532662c30c88e0b07a26e7364fbfae586351.zip
madwifi: add compilation for arm11
Add compilation support for arm11 CPUs (ie cns3xxx) Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@33678 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/madwifi/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile
index f915f56f9f..e38d114cd2 100644
--- a/package/madwifi/Makefile
+++ b/package/madwifi/Makefile
@@ -225,6 +225,10 @@ define Build/Prepare
$(PKG_BUILD_DIR)/hal/public/*.inc
$(SED) 's,march=armv4,march=armv5te,' \
$(PKG_BUILD_DIR)/hal/public/xscale*.inc
+ $(SED) 's,march=armv6j,march=armv6k,' \
+ $(PKG_BUILD_DIR)/hal/public/arm11*.inc
+ $(SED) 's,mtune=arm1136j-s,mtune=mpcore,' \
+ $(PKG_BUILD_DIR)/hal/public/arm11*.inc
endef
ifeq ($(findstring AHB,$(BUS)),AHB)