aboutsummaryrefslogtreecommitdiffstats
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
commit1702c50e17396dd928c6e100a4f3777bdbc689ab (patch)
treedb364f3b9d44db4b6d521e4bf1dc2f4c4d8dccf6
parentcd0e53097da1efc6755f4a734770a786ad2b1856 (diff)
downloadupstream-1702c50e17396dd928c6e100a4f3777bdbc689ab.tar.gz
upstream-1702c50e17396dd928c6e100a4f3777bdbc689ab.tar.bz2
upstream-1702c50e17396dd928c6e100a4f3777bdbc689ab.zip
fix building when target arch != mipsel (arch defaults to mipsel if not set when entering linux_dir)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1662 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 df1ae1082db..bde33e2e1b7 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)"