aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2011-03-07 13:07:17 +0000
committerImre Kaloz <kaloz@openwrt.org>2011-03-07 13:07:17 +0000
commit5d0d77e4c7eedbc0d8e70d1b54ad4fff6678589b (patch)
tree3b1ef19386858a9437f22ca4cdbae60ffbb936f2 /package/madwifi
parentc5b1e5ded29e0054b02fc8cfb6617a07b7fd90f5 (diff)
downloadupstream-5d0d77e4c7eedbc0d8e70d1b54ad4fff6678589b.tar.gz
upstream-5d0d77e4c7eedbc0d8e70d1b54ad4fff6678589b.tar.bz2
upstream-5d0d77e4c7eedbc0d8e70d1b54ad4fff6678589b.zip
[madwifi]: use the xscale hal by default for arm, override it where needed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25929 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi')
-rw-r--r--package/madwifi/Makefile25
1 files changed, 11 insertions, 14 deletions
diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile
index 6350a18052..bd0792a4b6 100644
--- a/package/madwifi/Makefile
+++ b/package/madwifi/Makefile
@@ -73,27 +73,24 @@ endif
ifeq ($(ARCH),i686)
HAL_TARGET:=i386-elf
endif
-ifeq ($(BOARD),ixp4xx)
+ifeq ($(ARCH),armeb)
HAL_TARGET:=xscale-be-elfgnueabi
endif
-ifeq ($(BOARD),iop32x)
+ifneq ($(ARCH),arm)
HAL_TARGET:=xscale-le-elfgnueabi
-endif
-ifeq ($(BOARD),kirkwood)
- HAL_TARGET:=xscale-le-elfgnueabi
-endif
-ifeq ($(BOARD),orion)
- HAL_TARGET:=xscale-le-elfgnueabi
-endif
-ifeq ($(BOARD),cns3xxx)
- HAL_TARGET:=arm11-le-elfgnueabi
+ ifeq ($(BOARD),cns21xx)
+ HAL_TARGET:=armv4-le-elfgnueabi
+ endif
+ ifeq ($(BOARD),cns3xxx)
+ HAL_TARGET:=arm11-le-elfgnueabi
+ endif
+ ifeq ($(BOARD),gemini)
+ HAL_TARGET:=armv4-le-elfgnueabi
+ endif
endif
ifeq ($(ARCH),powerpc)
HAL_TARGET:=powerpc-be-elf
endif
-ifeq ($(BOARD),gemini)
- HAL_TARGET:=armv4-le-elfgnueabi
-endif
ifneq ($(CONFIG_TARGET_atheros),)
HAL_TARGET:=wisoc
endif