aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-09-02 09:44:50 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-09-02 09:44:50 +0000
commitdfc85d6831deac808dfe5201ed73886353bd65b0 (patch)
tree8419df4aa6427e836f62730b9ae1fd4705b73886 /package/madwifi/Makefile
parentb79a3cf2e3be99cda38366aaf2e4afbcf7f86ebf (diff)
downloadupstream-dfc85d6831deac808dfe5201ed73886353bd65b0.tar.gz
upstream-dfc85d6831deac808dfe5201ed73886353bd65b0.tar.bz2
upstream-dfc85d6831deac808dfe5201ed73886353bd65b0.zip
fix madwifi upstream compile for mips (#3952)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12488 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/Makefile')
-rw-r--r--package/madwifi/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile
index adfd418b20..68bec3014a 100644
--- a/package/madwifi/Makefile
+++ b/package/madwifi/Makefile
@@ -63,10 +63,10 @@ ifneq ($(CONFIG_CPU_MIPS32_R2),)
endif
else
ifeq ($(ARCH),mips)
- HAL_TARGET:=mips32-be-elf
+ HAL_TARGET:=$(if $(CONFIG_MADWIFI_UPSTREAM),mips-be-elf,mips32-be-elf)
endif
ifeq ($(ARCH),mipsel)
- HAL_TARGET:=mips32-le-elf
+ HAL_TARGET:=$(if $(CONFIG_MADWIFI_UPSTREAM),mips-le-elf,mips32-le-elf)
endif
endif
ifeq ($(ARCH),i386)