fix hostap build when target arch != mipsel
authorNicolas Thill <nico@openwrt.org>
Sun, 23 Oct 2005 18:34:21 +0000 (18:34 +0000)
committerNicolas Thill <nico@openwrt.org>
Sun, 23 Oct 2005 18:34:21 +0000 (18:34 +0000)
SVN-Revision: 2283

openwrt/target/linux/package/hostap/Makefile

index 69d5ae6e7889bb66009d10d7d2ab18b174a756ba..c7d187bf3ad8be4861f8ec106b5ccb198096dee1 100644 (file)
@@ -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 $@