aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-07-26 10:49:39 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-07-26 10:49:39 +0000
commite157446e78bfe4091610ad3c52ab4a45607eff32 (patch)
treed149ddd7ce151df2ddcb70d08b961c3ba571d8aa /package
parent5c3b6a3a6db317d3ab196e0735c451a53e5783a8 (diff)
downloadmaster-187ad058-e157446e78bfe4091610ad3c52ab4a45607eff32.tar.gz
master-187ad058-e157446e78bfe4091610ad3c52ab4a45607eff32.tar.bz2
master-187ad058-e157446e78bfe4091610ad3c52ab4a45607eff32.zip
[package] add btrfs filesystem support, patch from Benjamin Cama
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16999 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/fs.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk
index 43d13346a0..d14b99fdbe 100644
--- a/package/kernel/modules/fs.mk
+++ b/package/kernel/modules/fs.mk
@@ -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)