fix hostap build when target arch != mipsel
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 23 Oct 2005 18:34:21 +0000 (18:34 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 23 Oct 2005 18:34:21 +0000 (18:34 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2283 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/target/linux/package/hostap/Makefile

index 69d5ae6..c7d187b 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 $@