summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/package/madwifi/Makefile
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-08-14 15:35:16 +0000
committerNicolas Thill <nico@openwrt.org>2005-08-14 15:35:16 +0000
commitbde7d2ee0d6a8bde3ed5277c11b87d17e930a009 (patch)
treedb364f3b9d44db4b6d521e4bf1dc2f4c4d8dccf6 /openwrt/target/linux/package/madwifi/Makefile
parent4bcd843c607e9679d73f760c6ed893822e645012 (diff)
downloadmtk-20170518-bde7d2ee0d6a8bde3ed5277c11b87d17e930a009.zip
mtk-20170518-bde7d2ee0d6a8bde3ed5277c11b87d17e930a009.tar.gz
mtk-20170518-bde7d2ee0d6a8bde3ed5277c11b87d17e930a009.tar.bz2
fix building when target arch != mipsel (arch defaults to mipsel if not set when entering linux_dir)
SVN-Revision: 1662
Diffstat (limited to 'openwrt/target/linux/package/madwifi/Makefile')
-rw-r--r--openwrt/target/linux/package/madwifi/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/openwrt/target/linux/package/madwifi/Makefile b/openwrt/target/linux/package/madwifi/Makefile
index df1ae10..bde33e2 100644
--- a/openwrt/target/linux/package/madwifi/Makefile
+++ b/openwrt/target/linux/package/madwifi/Makefile
@@ -36,6 +36,7 @@ $(PKG_BUILD_DIR)/.configured:
$(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \
+ ARCH="$(ARCH)" \
TARGET="$(HAL_TARGET)" \
TOOLPREFIX="$(KERNEL_CROSS)" \
KERNELPATH="$(KERNEL_DIR)"