X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/50af40000ac37ef921ebd46f6d641959503ee919..2346e8fd145e4c45760d9d5519a99db8ef1239df:/openwrt/target/linux/package/fuse/Makefile?ds=inline diff --git a/openwrt/target/linux/package/fuse/Makefile b/openwrt/target/linux/package/fuse/Makefile index 9db629598..950a9d20c 100644 --- a/openwrt/target/linux/package/fuse/Makefile +++ b/openwrt/target/linux/package/fuse/Makefile @@ -1,6 +1,7 @@ # $Id$ include $(TOPDIR)/rules.mk +include ../../rules.mk PKG_NAME:=fuse PKG_VERSION:=2.2.1 @@ -20,7 +21,7 @@ endif include $(TOPDIR)/package/rules.mk -$(eval $(call PKG_template,KMOD_FUSE,kmod-fuse,$(LINUX_VERSION)+$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(eval $(call PKG_template,KMOD_FUSE,kmod-fuse,$(LINUX_VERSION)$(BOARD)+$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH),kernel ($(LINUX_VERSION)-$(BOARD)-$(KERNEL_RELEASE)))) $(PKG_BUILD_DIR)/.configured: (cd $(PKG_BUILD_DIR); \ @@ -31,7 +32,6 @@ $(PKG_BUILD_DIR)/.configured: touch include/config.h.in ; \ touch configure ; \ $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS)" \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ @@ -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="$(LINUX_KARCH)" \ DESTDIR="$(PKG_INSTALL_DIR)" \ SUBDIRS="kernel" \ all install