summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-25 23:38:02 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-02-25 23:38:02 +0000
commit0e6aa87e6d6d7e81b1cf36c7422be0e93b165419 (patch)
treebae51b2304a8c3ffc22ac2377913fafe04f80c89
parentddc47d62f9bb0666edde40775077bdbfc428880a (diff)
more cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6373 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/fuse/Makefile47
1 files changed, 14 insertions, 33 deletions
diff --git a/package/fuse/Makefile b/package/fuse/Makefile
index 5171b28851..d4641c115d 100644
--- a/package/fuse/Makefile
+++ b/package/fuse/Makefile
@@ -65,6 +65,18 @@ define Package/libfuse
This package contains the FUSE shared library, needed by other programs.
endef
+CONFIGURE_ARGS += \
+ --enable-shared \
+ --enable-static \
+ --disable-rpath \
+ --enable-kernel-module \
+ --enable-lib \
+ --enable-util \
+ --disable-example \
+ --disable-auto-modprobe \
+ --with-kernel="$(LINUX_DIR)" \
+ --disable-mtab
+
define Build/Configure
(cd $(PKG_BUILD_DIR); rm -f config.cache; \
touch configure.in ; \
@@ -72,39 +84,8 @@ define Build/Configure
touch Makefile.in ; \
touch include/config.h.in ; \
touch configure ; \
- $(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)" \
- ./configure \
- --target=$(GNU_TARGET_NAME) \
- --host=$(GNU_TARGET_NAME) \
- --build=$(GNU_HOST_NAME) \
- --program-prefix="" \
- --program-suffix="" \
- --prefix=/usr \
- --exec-prefix=/usr \
- --bindir=/usr/bin \
- --datadir=/usr/share \
- --includedir=/usr/include \
- --infodir=/usr/share/info \
- --libdir=/usr/lib \
- --libexecdir=/usr/lib \
- --localstatedir=/var \
- --mandir=/usr/share/man \
- --sbindir=/usr/sbin \
- --sysconfdir=/etc \
- $(DISABLE_LARGEFILE) \
- $(DISABLE_NLS) \
- --enable-shared \
- --enable-static \
- --disable-rpath \
- --enable-kernel-module \
- --enable-lib \
- --enable-util \
- --disable-example \
- --disable-auto-modprobe \
- --with-kernel="$(LINUX_DIR)" \
- --disable-mtab \
- );
+ )
+ $(call Build/Configure/Default)
endef
define Build/Compile