summaryrefslogtreecommitdiff
path: root/target/linux/package/madwifi/Makefile
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-08-14 15:35:16 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-08-14 15:35:16 +0000
commit38c44e577082ee68529cfa6550f540380264ed83 (patch)
tree7ef13815c1f6c555e1eb5c8318e97f1d3afdbfaf /target/linux/package/madwifi/Makefile
parent960b21b516f519374168ee3703c8dd034c147843 (diff)
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/openwrt@1662 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/package/madwifi/Makefile')
-rw-r--r--target/linux/package/madwifi/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/package/madwifi/Makefile b/target/linux/package/madwifi/Makefile
index df1ae1082d..bde33e2e1b 100644
--- a/target/linux/package/madwifi/Makefile
+++ b/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)"