summaryrefslogtreecommitdiff
path: root/target/linux/package/madwifi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/package/madwifi/Makefile')
-rw-r--r--target/linux/package/madwifi/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/package/madwifi/Makefile b/target/linux/package/madwifi/Makefile
index bde33e2e1b..4e1a7d312b 100644
--- a/target/linux/package/madwifi/Makefile
+++ b/target/linux/package/madwifi/Makefile
@@ -1,6 +1,7 @@
# $Id$
include $(TOPDIR)/rules.mk
+include ../../rules.mk
PKG_NAME:=madwifi
PKG_VERSION:=2005-08-13
@@ -36,7 +37,7 @@ $(PKG_BUILD_DIR)/.configured:
$(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \
- ARCH="$(ARCH)" \
+ ARCH="$(LINUX_KARCH)" \
TARGET="$(HAL_TARGET)" \
TOOLPREFIX="$(KERNEL_CROSS)" \
KERNELPATH="$(KERNEL_DIR)"