From 898fc4d25c1e2bbac7137846925a6208725ba5d7 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Mon, 11 May 2009 21:22:11 +0000
Subject: [PATCH] madwifi: the openwrt build system usually has a better idea
 of what the target arch is than the madwifi build system :)

SVN-Revision: 15788
---
 package/madwifi/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/madwifi/Makefile b/package/madwifi/Makefile
index 8db820e5aa..3fecfd6f68 100644
--- a/package/madwifi/Makefile
+++ b/package/madwifi/Makefile
@@ -189,6 +189,7 @@ MADWIFI_INC = \
 MAKE_ARGS:= \
 	PATH="$(TARGET_PATH)" \
 	ARCH="$(LINUX_KARCH)" \
+	ARCH-y="$(LINUX_KARCH)" \
 	CROSS_COMPILE="$(TARGET_CROSS)" \
 	TARGET="$(HAL_TARGET)" \
 	TOOLPREFIX="$(KERNEL_CROSS)" \
-- 
2.30.2