summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/package/madwifi/Makefile
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-02 02:42:06 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-11-02 02:42:06 +0000
commit46ff394de278350ffaed9e866561fb250904e342 (patch)
tree2eeb541558af5d26298b0388a5c07b25c49d6ed4 /openwrt/target/linux/package/madwifi/Makefile
parent24dc1f527d33afc44998f5b35a8de368c165f51d (diff)
use the cross-compiler to build additional packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2312 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/package/madwifi/Makefile')
-rw-r--r--openwrt/target/linux/package/madwifi/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/openwrt/target/linux/package/madwifi/Makefile b/openwrt/target/linux/package/madwifi/Makefile
index 089e68e948..6a13a181c5 100644
--- a/openwrt/target/linux/package/madwifi/Makefile
+++ b/openwrt/target/linux/package/madwifi/Makefile
@@ -39,9 +39,11 @@ $(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \
PATH="$(TARGET_PATH)" \
ARCH="$(LINUX_KARCH)" \
+ CROSS_COMPILE="$(TARGET_CROSS)" \
TARGET="$(HAL_TARGET)" \
TOOLPREFIX="$(KERNEL_CROSS)" \
- KERNELPATH="$(KERNEL_DIR)"
+ KERNELPATH="$(KERNEL_DIR)" \
+ all
touch $@
$(IPKG_KMOD_MADWIFI):