From 49b5f4bb2101f55684f31984b0e7c84f5f82486b Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 14 Aug 2005 15:35:16 +0000 Subject: [PATCH] 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 --- openwrt/target/linux/package/madwifi/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/openwrt/target/linux/package/madwifi/Makefile b/openwrt/target/linux/package/madwifi/Makefile index df1ae1082..bde33e2e1 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)"