From c3e51ef17d4074dd7f10c14e8a0fe511a612fe2a Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Sun, 23 Oct 2005 18:34:21 +0000 Subject: [PATCH] fix hostap build when target arch != mipsel SVN-Revision: 2283 --- openwrt/target/linux/package/hostap/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openwrt/target/linux/package/hostap/Makefile b/openwrt/target/linux/package/hostap/Makefile index 69d5ae6e78..c7d187bf3a 100644 --- a/openwrt/target/linux/package/hostap/Makefile +++ b/openwrt/target/linux/package/hostap/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile 1832 2005-09-03 19:27:27Z wbx $ +# $Id$ include $(TOPDIR)/rules.mk include ../../rules.mk @@ -30,6 +30,7 @@ $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.built: $(MAKE) -C $(KERNEL_DIR)/ \ + ARCH="$(LINUX_KARCH)" \ SUBDIRS="$(PKG_BUILD_DIR)/driver/modules" \ modules touch $@