Re-enable fuse for 2.4 kernels as well (#1346)
authorFlorian Fainelli <florian@openwrt.org>
Wed, 28 Feb 2007 13:45:37 +0000 (13:45 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 28 Feb 2007 13:45:37 +0000 (13:45 +0000)
SVN-Revision: 6430

package/fuse/Makefile

index 645c1491c4fabc4752588dda40d6252d6600808b..5b94174bd004fdb996d9479579ee18abdae8f695 100644 (file)
@@ -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