diff --git a/package/fuse/Makefile b/package/fuse/Makefile index 645c1491c4..5b94174bd0 100644 --- a/package/fuse/Makefile +++ b/package/fuse/Makefile @@ -25,7 +25,6 @@ include $(INCLUDE_DIR)/package.mk define Package/fuse/Default TITLE:=FUSE - DEPENDS:=@LINUX_2_6 DESCRIPTION:=\ FUSE (Filesystem in UserSpacE) URL:=http://fuse.sourceforge.net/ @@ -35,7 +34,7 @@ define Package/fuse-utils $(call Package/fuse/Default) SECTION:=utils CATEGORY:=Utilities - DEPENDS:=+libfuse +kmod-fuse @LINUX_2_6 + DEPENDS:=+libfuse +kmod-fuse TITLE+= (utilities) DESCRIPTION+=\\\ \\\ @@ -46,11 +45,18 @@ define KernelPackage/fuse SUBMENU:=Filesystems $(call Package/fuse/Default) TITLE+= (kernel module) - DEPENDS:=@LINUX_2_6 DESCRIPTION+=\\\ \\\ This package contains the FUSE kernel module. VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE) + AUTOLOAD:=$(call AutoLoad,80,fuse) +endef + +define KernelPackage/fuse/2.4 + FILES:=$(PKG_BUILD_DIR)/lib/fuse.$(LINUX_KMOD_SUFFIX) +endef + +define KernelPackage/fuse/2.6 FILES:=$(PKG_INSTALL_DIR)/lib/modules/$(LINUX_VERSION)/kernel/fs/fuse/fuse.$(LINUX_KMOD_SUFFIX) endef