From 4768b3cc3f4ed639f4b32a15be95708bf6ea816b Mon Sep 17 00:00:00 2001
From: Nicolas Thill <nico@openwrt.org>
Date: Mon, 15 Aug 2005 03:25:51 +0000
Subject: [PATCH] do not build lib and util here, enable kmod build when target
 arch != mipsel

SVN-Revision: 1681
---
 openwrt/target/linux/package/fuse/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/openwrt/target/linux/package/fuse/Makefile b/openwrt/target/linux/package/fuse/Makefile
index 8b997d6b4fe..5d1dc89d417 100644
--- a/openwrt/target/linux/package/fuse/Makefile
+++ b/openwrt/target/linux/package/fuse/Makefile
@@ -55,8 +55,8 @@ $(PKG_BUILD_DIR)/.configured:
 		  --enable-shared \
 		  --enable-static \
 		  --enable-kernel-module \
-		  --enable-lib \
-		  --enable-util \
+		  --disable-lib \
+		  --disable-util \
 		  --disable-example \
 		  --disable-auto-modprobe \
 		  --with-kernel=$(KERNEL_DIR) \
@@ -66,6 +66,7 @@ $(PKG_BUILD_DIR)/.configured:
 $(PKG_BUILD_DIR)/.built:
 	mkdir -p $(PKG_INSTALL_DIR)
 	$(MAKE) -C $(PKG_BUILD_DIR) \
+		ARCH="$(ARCH)" \
 		DESTDIR="$(PKG_INSTALL_DIR)" \
 		SUBDIRS="kernel" \
 		all install