summaryrefslogtreecommitdiff
path: root/target/linux/config
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/config')
-rw-r--r--target/linux/config/Config.in.aufs93
-rw-r--r--target/linux/config/Config.in.block11
-rw-r--r--target/linux/config/Config.in.crypto15
-rw-r--r--target/linux/config/Config.in.fs33
-rw-r--r--target/linux/config/Config.in.misc5
5 files changed, 157 insertions, 0 deletions
diff --git a/target/linux/config/Config.in.aufs b/target/linux/config/Config.in.aufs
new file mode 100644
index 000000000..fb63ac931
--- /dev/null
+++ b/target/linux/config/Config.in.aufs
@@ -0,0 +1,93 @@
+config ADK_KPACKAGE_KMOD_AUFS_FS
+ prompt "Aufs (Advanced multi layered unification filesystem) support"
+ tristate
+ select ADK_KERNEL_EXPERIMENTAL
+ select FWRT_KPACKAGE_KMOD_EXPORTFS if ADK_KERNEL_AUFS_EXPORT
+ help
+ Aufs is a stackable unification filesystem such as Unionfs,
+ which unifies several directories and provides a merged single
+ directory.
+ In the early days, aufs was entirely re-designed and
+ re-implemented Unionfs Version 1.x series. Introducing many
+ original ideas, approaches and improvements, it becomes totally
+ different from Unionfs while keeping the basic features.
+
+if ADK_KPACKAGE_KMOD_AUFS_FS
+
+choice
+ boolean "Maximum number of branches"
+ default ADK_KERNEL_AUFS_BRANCH_MAX_127
+ help
+ Specifies the maximum number of branches (or member directories)
+ in a single aufs. The larger value consumes more system
+ resources and has a minor impact to performance.
+
+config ADK_KERNEL_AUFS_BRANCH_MAX_127
+ bool "127"
+
+config ADK_KERNEL_AUFS_BRANCH_MAX_511
+ bool "511"
+
+config ADK_KERNEL_AUFS_BRANCH_MAX_1023
+ bool "1023"
+
+config ADK_KERNEL_AUFS_BRANCH_MAX_32767
+ bool "32767"
+
+endchoice
+
+config ADK_KERNEL_AUFS_HINOTIFY
+ bool "Use inotify to detect actions on a branch"
+ select ADK_KERNEL_INOTIFY
+ help
+ If you want to modify files on branches directly, eg. bypassing aufs,
+ and want aufs to detect the changes of them fully, then enable this
+ option and use 'udba=inotify' mount option.
+ It will have a negative impact to the performance.
+ See detail in aufs.5.
+
+config ADK_KERNEL_AUFS_EXPORT
+ bool "NFS-exportable aufs"
+ help
+ If you want to export your mounted aufs via NFS, then enable this
+ option. There are several requirements for this configuration.
+ See detail in aufs.5.
+
+config ADK_KERNEL_AUFS_SHWH
+ bool "Show whiteouts"
+ help
+ If you want to make the whiteouts in aufs visible, then enable
+ this option and specify 'shwh' mount option. Although it may
+ sounds like philosophy or something, but in technically it
+ simply shows the name of whiteout with keeping its behaviour.
+
+config ADK_KERNEL_AUFS_BR_RAMFS
+ bool "Ramfs (initramfs/rootfs) as an aufs branch"
+ help
+ If you want to use ramfs as an aufs branch fs, then enable this
+ Generally tmpfs is recommended.
+ hibited them to be a branch fs by default, because
+ s becomes unusable after switch_root or something
+ y. If you sets initramfs as an aufs branch and boot your
+ y switch_root, you will meet a problem easily since the
+ initramfs may be inaccessible.
+ ou are going to use ramfs as an aufs branch fs without
+ oot or something, leave it N.
+
+config ADK_KERNEL_AUFS_BR_FUSE
+ bool "Fuse fs as an aufs branch"
+ select ADK_KERNEL_AUFS_POLL
+ select ADK_KPACKAGE_KMOD_FUSE_FS
+ help
+ If you want to use fuse-based userspace filesystem as an aufs
+ branch fs, then enable this option.
+ It implements the internal poll(2) operation which is
+ implemented by fuse only (curretnly).
+
+config ADK_KERNEL_AUFS_DEBUG
+ bool "Debug aufs"
+ help
+ Enable this to compile aufs internal debug code.
+ It will have a negative impact to the performance.
+
+endif
diff --git a/target/linux/config/Config.in.block b/target/linux/config/Config.in.block
index 5ceacf608..15c3f27d6 100644
--- a/target/linux/config/Config.in.block
+++ b/target/linux/config/Config.in.block
@@ -40,6 +40,15 @@ config ADK_KERNEL_BLK_DEV_SD
boolean
default n
+config ADK_KERNEL_DM_CRYPT
+ boolean
+ default n
+
+config ADK_KERNEL_BLK_DEV_DM
+ select ADK_KERNEL_MD
+ boolean
+ default n
+
#config ADK_KERNEL_IDE
# boolean
# default n
@@ -206,6 +215,7 @@ config ADK_KPACKAGE_KMOD_MD_RAID456
config ADK_KPACKAGE_KMOD_BLK_DEV_DM
prompt "kmod-dm........................... Device Mapper support"
select ADK_KERNEL_MD
+ depends on !ADK_KERNEL_BLK_DEV_DM
tristate
help
Device-mapper is a low level volume manager. It works by allowing
@@ -218,6 +228,7 @@ config ADK_KPACKAGE_KMOD_BLK_DEV_DM
config ADK_KPACKAGE_KMOD_DM_CRYPT
prompt "kmod-dm-crypt................... Crypt target support"
depends on ADK_KPACKAGE_KMOD_BLK_DEV_DM
+ depends on !ADK_KERNEL_DM_CRYPT
select ADK_KERNEL_MD
select ADK_KERNEL_CRYPTO
select ADK_KPACKAGE_KMOD_CRYPTO_CBC
diff --git a/target/linux/config/Config.in.crypto b/target/linux/config/Config.in.crypto
index 8a7b534ca..2b90a6028 100644
--- a/target/linux/config/Config.in.crypto
+++ b/target/linux/config/Config.in.crypto
@@ -22,6 +22,18 @@ config ADK_KERNEL_OCF_OCF
select ADK_KERNEL_OCF_FIPS
select ADK_KERNEL_OCF_CRYPTODEV
+config ADK_KERNEL_CRYPTO_AES
+ boolean
+ default n
+
+config ADK_KERNEL_CRYPTO_SHA256
+ boolean
+ default n
+
+config ADK_KERNEL_CRYPTO_CBC
+ boolean
+ default n
+
comment "Hardware cryptography"
menu "Hardware crypto devices"
@@ -136,6 +148,7 @@ config ADK_KPACKAGE_KMOD_CRYPTO_BLKCIPHER
config ADK_KPACKAGE_KMOD_CRYPTO_CBC
prompt "kmod-crypto-cbc...................... CBC support"
tristate
+ depends on !ADK_KERNEL_CRYPTO_CBC
select ADK_KPACKAGE_KMOD_CRYPTO_BLKCIPHER
select ADK_KPACKAGE_KMOD_CRYPTO_MANAGER
default n
@@ -205,6 +218,7 @@ config ADK_KPACKAGE_KMOD_CRYPTO_SHA256
prompt "kmod-crypto-sha256................... SHA256 digest algorithm"
tristate
default n
+ depends on !ADK_KERNEL_CRYPTO_SHA256
select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
select ADK_KPACKAGE_KMOD_CRYPTO_HASH
help
@@ -267,6 +281,7 @@ config ADK_KPACKAGE_KMOD_CRYPTO_AES
prompt "kmod-crypto-aes...................... AES cipher algorithms"
tristate
default n
+ depends on !ADK_KERNEL_CRYPTO_AES
select ADK_KPACKAGE_KMOD_CRYPTO_ALGAPI
help
AES cipher algorithms (FIPS-197). AES uses the Rijndael
diff --git a/target/linux/config/Config.in.fs b/target/linux/config/Config.in.fs
index 155a14a63..7468ee55c 100644
--- a/target/linux/config/Config.in.fs
+++ b/target/linux/config/Config.in.fs
@@ -121,10 +121,20 @@ config ADK_KPACKAGE_KMOD_VFAT_FS
The VFAT support enlarges your kernel by about 10 KB Please read the
file <file:Documentation/filesystems/vfat.txt> for details.
+config ADK_KERNEL_EXPORTFS
+ boolean
+ default n
+
+config ADK_KERNEL_XFS_FS
+ boolean
+ select ADK_KERNEL_EXPORTFS
+ default n
+
config ADK_KPACKAGE_KMOD_XFS_FS
prompt "kmod-fs-xfs....................... XFS filesystem support"
tristate
select ADK_KPACKAGE_KMOD_EXPORTFS
+ depends on !ADK_KERNEL_XFS_FS
default n
help
XFS is a high performance journaling filesystem which originated
@@ -196,7 +206,30 @@ config ADK_KPACKAGE_KMOD_UDF_FS
if written to by other UDF utilities, such as DirectCD.
Please read <file:Documentation/filesystems/udf.txt>.
+config ADK_KERNEL_INOTIFY
+ prompt "inotify........................... Inotify file change notification support"
+ boolean
+ default y
+ help
+ Say Y here to enable inotify support. Inotify is a file change
+ notification system and a replacement for dnotify. Inotify fixes
+ numerous shortcomings in dnotify and introduces several new features
+ including multiple file events, one-shot support, and unmount
+ notification.
+
+config ADK_KERNEL_INOTIFY_USER
+ prompt "inotify-user...................... Inotify support for userspace"
+ boolean
+ depends on ADK_KERNEL_INOTIFY
+ default y
+ help
+ Say Y here to enable inotify support for userspace, including the
+ associated system calls. Inotify allows monitoring of both files and
+ directories via a single open fd. Events are read from the file
+ descriptor, which is also select()- and poll()-able.
+
source target/linux/config/Config.in.fsnet
source target/linux/config/Config.in.nls
+source target/linux/config/Config.in.aufs
endmenu
diff --git a/target/linux/config/Config.in.misc b/target/linux/config/Config.in.misc
index eea6ccc38..d0716cf57 100644
--- a/target/linux/config/Config.in.misc
+++ b/target/linux/config/Config.in.misc
@@ -1,3 +1,8 @@
+config ADK_LINUX_INITRAMFS_BUILTIN
+ select ADK_KERNEL_BLK_DEV_INITRD
+ boolean
+ default n
+
menu "Miscellaneous devices support"
source target/linux/config/Config.in.leds