[package] add btrfs filesystem support, patch from Benjamin Cama
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 26 Jul 2009 10:49:39 +0000 (10:49 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 26 Jul 2009 10:49:39 +0000 (10:49 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16999 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/kernel/modules/fs.mk

index 43d1334..d14b99f 100644 (file)
@@ -356,6 +356,29 @@ endef
 
 $(eval $(call KernelPackage,fs-xfs))
 
+define KernelPackage/fs-btrfs
+  SUBMENU:=$(FS_MENU)
+  TITLE:=BTRFS filesystem support
+  KCONFIG:=\
+       CONFIG_CRYPTO_CRC32C \
+       CONFIG_LIBCRC32C \
+       CONFIG_BTRFS_FS \
+       CONFIG_BTRFS_FS_POSIX_ACL=n
+  # for crc32c
+  DEPENDS:=+kmod-crypto-core @!LINUX_2_6_21||!LINUX_2_6_25||!LINUX_2_6_28
+  FILES:=\
+       $(LINUX_DIR)/crypto/crc32c.$(LINUX_KMOD_SUFFIX) \
+       $(LINUX_DIR)/lib/libcrc32c.$(LINUX_KMOD_SUFFIX) \
+       $(LINUX_DIR)/fs/btrfs/btrfs.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,30,crc32c libcrc32c btrfs)
+endef
+
+define KernelPackage/fs-btrfs/description
+  Kernel module for BTRFS support
+endef
+
+$(eval $(call KernelPackage,fs-btrfs))
+
 
 define KernelPackage/nls-base
   SUBMENU:=$(FS_MENU)
This page took 0.026978 seconds and 4 git commands to generate.