diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-02 17:52:09 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-04 17:57:30 +0200 |
commit | 4bd703530dbe83a6e34693744551b3800d744db9 (patch) | |
tree | 08bd3d5df7680e6058d1baa6b6abd58217c13024 | |
parent | d785b774fa19884a9eee7c9a40d5f23893a3443a (diff) |
fix some crypot dependencies, add experimental btrfs support
-rw-r--r-- | mk/modules.mk | 37 | ||||
-rw-r--r-- | target/linux/config/Config.in.block | 3 | ||||
-rw-r--r-- | target/linux/config/Config.in.crypto | 4 | ||||
-rw-r--r-- | target/linux/config/Config.in.fs | 17 | ||||
-rw-r--r-- | target/linux/config/Config.in.lib | 12 |
5 files changed, 67 insertions, 6 deletions
diff --git a/mk/modules.mk b/mk/modules.mk index 1f3b1686c..44e7316f2 100644 --- a/mk/modules.mk +++ b/mk/modules.mk @@ -774,6 +774,10 @@ $(eval $(call KMOD_template,BLK_DEV_SR,blk-dev-sr,\ # RAID # +$(eval $(call KMOD_template,RAID6_PQ,raid-pq,\ + $(MODULES_DIR)/kernel/lib/raid6/raid6_pq \ +,20)) + $(eval $(call KMOD_template,BLK_DEV_MD,blk-dev-md,\ $(MODULES_DIR)/kernel/drivers/md/md-mod \ ,30)) @@ -787,15 +791,13 @@ $(eval $(call KMOD_template,MD_RAID1,md-raid1,\ ,35)) $(eval $(call KMOD_template,MD_RAID456,md-raid456,\ - $(MODULES_DIR)/kernel/lib/raid6/raid6_pq \ - $(MODULES_DIR)/kernel/crypto/xor \ $(MODULES_DIR)/kernel/crypto/async_tx/async_tx \ $(MODULES_DIR)/kernel/crypto/async_tx/async_xor \ $(MODULES_DIR)/kernel/crypto/async_tx/async_memcpy \ $(MODULES_DIR)/kernel/crypto/async_tx/async_raid6_recov \ $(MODULES_DIR)/kernel/crypto/async_tx/async_pq \ $(MODULES_DIR)/kernel/drivers/md/raid456 \ -,35)) +,35, kmod-raid-pq kmod-xor-blocks)) # # Device Mapper @@ -852,12 +854,16 @@ $(eval $(call KMOD_template,CRYPTO_MANAGER2,crypto-manager,\ $(MODULES_DIR)/kernel/crypto/cryptomgr \ $(MODULES_DIR)/kernel/crypto/eseqiv \ $(MODULES_DIR)/kernel/crypto/chainiv \ -,07)) +,08)) $(eval $(call KMOD_template,CRYPTO_DEV_GEODE,crypto-dev-geode,\ $(MODULES_DIR)/kernel/drivers/crypto/geode-aes \ ,20)) +$(eval $(call KMOD_template,XOR_BLOCKS,xor-blocks,\ + $(MODULES_DIR)/kernel/crypto/xor \ +,10)) + $(eval $(call KMOD_template,CRYPTO_AUTHENC,crypto-authenc,\ $(MODULES_DIR)/kernel/crypto/authenc \ ,11)) @@ -993,9 +999,8 @@ $(eval $(call KMOD_template,CRYPTO_FCRYPT,crypto-fcrypt,\ ,11)) $(eval $(call KMOD_template,CRYPTO_DEFLATE,crypto-deflate,\ - $(MODULES_DIR)/kernel/lib/zlib_deflate/zlib_deflate \ $(MODULES_DIR)/kernel/crypto/deflate \ -,10)) +,10, kmod-zlib-deflate)) $(eval $(call KMOD_template,CRYPTO_LZO,crypto-lzo,\ $(MODULES_DIR)/kernel/crypto/lzo \ @@ -1110,6 +1115,10 @@ $(eval $(call KMOD_template,XFS_FS,xfs-fs,\ $(MODULES_DIR)/kernel/fs/xfs/xfs \ ,30)) +$(eval $(call KMOD_template,BTRFS_FS,btrfs-fs,\ + $(MODULES_DIR)/kernel/fs/btrfs/btrfs \ +,30, kmod-raid6-pq kmod-xor-blocks)) + $(eval $(call KMOD_template,YAFFS_FS,yaffs-fs,\ $(MODULES_DIR)/kernel/fs/yaffs2/yaffs \ ,30)) @@ -1803,3 +1812,19 @@ $(eval $(call KMOD_template,VIRTIO_NET,virtio-net,\ $(MODULES_DIR)/kernel/drivers/net/virtio_net \ ,40)) +# +# Lib +# + +$(eval $(call KMOD_template,ZLIB_DEFLATE,zlib-deflate,\ + $(MODULES_DIR)/kernel/lib/zlib_deflate/zlib_deflate \ +,01)) + +$(eval $(call KMOD_template,LZO_COMPRESS,lzo-compress,\ + $(MODULES_DIR)/kernel/lib/lzo/lzo_compress \ +,01)) + +$(eval $(call KMOD_template,LZO_DECOMPRESS,lzo-decompress,\ + $(MODULES_DIR)/kernel/lib/lzo/lzo_decompress \ +,01)) + diff --git a/target/linux/config/Config.in.block b/target/linux/config/Config.in.block index 7aa2b0f19..25e6403e9 100644 --- a/target/linux/config/Config.in.block +++ b/target/linux/config/Config.in.block @@ -3,6 +3,9 @@ menu "Block devices support" config ADK_KERNEL_MD boolean +config ADK_KERNEL_RAID6_PQ + tristate + config ADK_KERNEL_LBD boolean diff --git a/target/linux/config/Config.in.crypto b/target/linux/config/Config.in.crypto index 0aac38141..47c03befa 100644 --- a/target/linux/config/Config.in.crypto +++ b/target/linux/config/Config.in.crypto @@ -6,6 +6,9 @@ config ADK_KERNEL_CRYPTO config ADK_KERNEL_CRYPTO_HW tristate +config ADK_KERNEL_XOR_BLOCKS + tristate + comment "Hardware cryptography" menu "Hardware crypto devices" @@ -69,6 +72,7 @@ config ADK_KERNEL_CRYPTO_AEAD2 config ADK_KERNEL_CRYPTO_HASH tristate + select ADK_KERNEL_CRYPTO_ALGAPI select ADK_KERNEL_CRYPTO_HASH2 select ADK_KERNEL_CRYPTO_ALGAPI diff --git a/target/linux/config/Config.in.fs b/target/linux/config/Config.in.fs index 37bbcf183..b27cb7525 100644 --- a/target/linux/config/Config.in.fs +++ b/target/linux/config/Config.in.fs @@ -181,6 +181,23 @@ config ADK_KERNEL_XFS_FS for complete details. This implementation is on-disk compatible with the IRIX version of XFS. +config ADK_KERNEL_BTRFS_FS + prompt "Btrfs filesystem support" + tristate + select ADK_KERNEL_CRYPTO_CRC32C + select ADK_KERNEL_RAID6_PQ + select ADK_KERNEL_XOR_BLOCKS + select ADK_KERNEL_ZLIB_DEFLATE + select ADK_KERNEL_LZO_COMPRESS + select ADK_KERNEL_LZO_DECOMPRESS + default n + help + Btrfs is a general purpose copy-on-write filesystem with extents, + writable snapshotting, support for multiple devices and many more + features focused on fault tolerance, repair and easy administration. + For more information, please see the web pages at + http://btrfs.wiki.kernel.org + config ADK_KERNEL_FUSE_FS prompt "Filesystem in Userspace support" tristate diff --git a/target/linux/config/Config.in.lib b/target/linux/config/Config.in.lib index 2b188fc7d..1bc76d67f 100644 --- a/target/linux/config/Config.in.lib +++ b/target/linux/config/Config.in.lib @@ -40,4 +40,16 @@ config ADK_KERNEL_CRC_CCITT This module provides CRC-CCITT library functions for kernel modules built outside the kernel. +config ADK_KERNEL_ZLIB_DEFLATE + tristate + default n + +config ADK_KERNEL_LZO_COMPRESS + tristate + default n + +config ADK_KERNEL_LZO_DECOMPRESS + tristate + default n + endmenu |