diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-07-26 10:49:39 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-07-26 10:49:39 +0000 |
commit | 774f667614a1188d1e5cbee49ba10c384742de0b (patch) | |
tree | 505f1cb9976158fb4c69b0ca57a3120ef1d7e4ac /package/kernel | |
parent | fa714a7f51323dfac1d50e8e5c3778d7d6e02f10 (diff) | |
download | mtk-20170518-774f667614a1188d1e5cbee49ba10c384742de0b.zip mtk-20170518-774f667614a1188d1e5cbee49ba10c384742de0b.tar.gz mtk-20170518-774f667614a1188d1e5cbee49ba10c384742de0b.tar.bz2 |
add btrfs filesystem support, patch from Benjamin Cama
SVN-Revision: 16999
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/modules/fs.mk | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/package/kernel/modules/fs.mk b/package/kernel/modules/fs.mk index 43d1334..d14b99f 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) |