summaryrefslogtreecommitdiff
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
commit76c95e569287bac6a91bc8490a3144f049d1c26f (patch)
tree29b3db8e7da5856b7bd386e7051291fd3482c5c4
parent347913a53c61cfcf0e5222fdbb735df9c4039aa3 (diff)
downloadmtk-20170518-76c95e569287bac6a91bc8490a3144f049d1c26f.zip
mtk-20170518-76c95e569287bac6a91bc8490a3144f049d1c26f.tar.gz
mtk-20170518-76c95e569287bac6a91bc8490a3144f049d1c26f.tar.bz2
fix madwifi upstream compile for mips (#3952)
SVN-Revision: 12488
-rw-r--r--package/madwifi/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile
index adfd418..68bec30 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)