+ Make using ACLs (e.g. POSIX ACL, NFSv4 ACL) the default
+ for kernel and packages, except tmpfs, flash filesystems,
+ and old NFS. Also enable userspace extended attribute support
+ by default. (OpenWrt already has an expection it will be
+ present in the kernel).
+
+ config KERNEL_FS_POSIX_ACL
+ bool "Enable POSIX ACL support"
+ default y if USE_FS_ACL_ATTR
+
+ config KERNEL_BTRFS_FS_POSIX_ACL
+ bool "Enable POSIX ACL for BtrFS Filesystems"
+ select KERNEL_FS_POSIX_ACL
+ default y if USE_FS_ACL_ATTR
+
+ config KERNEL_EXT4_FS_POSIX_ACL
+ bool "Enable POSIX ACL for Ext4 Filesystems"
+ select KERNEL_FS_POSIX_ACL
+ default y if USE_FS_ACL_ATTR
+
+ config KERNEL_F2FS_FS_POSIX_ACL
+ bool "Enable POSIX ACL for F2FS Filesystems"
+ select KERNEL_FS_POSIX_ACL
+ default n
+
+ config KERNEL_JFFS2_FS_POSIX_ACL
+ bool "Enable POSIX ACL for JFFS2 Filesystems"
+ select KERNEL_FS_POSIX_ACL
+ default n
+
+ config KERNEL_TMPFS_POSIX_ACL
+ bool "Enable POSIX ACL for TMPFS Filesystems"
+ select KERNEL_FS_POSIX_ACL
+ default n
+
+ config KERNEL_CIFS_ACL
+ bool "Enable CIFS ACLs"
+ select KERNEL_FS_POSIX_ACL
+ default y if USE_FS_ACL_ATTR
+
+ config KERNEL_HFS_FS_POSIX_ACL
+ bool "Enable POSIX ACL for HFS Filesystems"
+ select KERNEL_FS_POSIX_ACL
+ default y if USE_FS_ACL_ATTR
+
+ config KERNEL_HFSPLUG_FS_POSIX_ACL
+ bool "Enable POSIX ACL for HFS+ Filesystems"
+ select KERNEL_FS_POSIX_ACL
+ default y if USE_FS_ACL_ATTR
+
+ config KERNEL_NFS_ACL_SUPPORT
+ bool "Enable ACLs for NFS"
+ default y if USE_FS_ACL_ATTR
+
+ config KERNEL_NFS_V3_ACL_SUPPORT
+ bool "Enable ACLs for NFSv3"
+ default n
+
+ config KERNEL_NFSD_V2_ACL_SUPPORT
+ bool "Enable ACLs for NFSDv2"
+ default n
+
+ config KERNEL_NFSD_V3_ACL_SUPPORT
+ bool "Enable ACLs for NFSDv3"
+ default n
+
+ config KERNEL_REISER_FS_POSIX_ACL
+ bool "Enable POSIX ACLs for ReiserFS"
+ select KERNEL_FS_POSIX_ACL
+ default y if USE_FS_ACL_ATTR
+
+ config KERNEL_XFS_POSIX_ACL
+ bool "Enable POSIX ACLs for XFS"
+ select KERNEL_FS_POSIX_ACL
+ default y if USE_FS_ACL_ATTR
+
+ config KERNEL_JFS_POSIX_ACL
+ bool "Enable POSIX ACLs for JFS"
+ select KERNEL_FS_POSIX_ACL
+ default y if USE_FS_ACL_ATTR
+
+endmenu
+
+config KERNEL_DEVMEM
+ bool "/dev/mem virtual device support"
+ help
+ Say Y here if you want to support the /dev/mem device.
+ The /dev/mem device is used to access areas of physical
+ memory.
+
+config KERNEL_DEVKMEM
+ bool "/dev/kmem virtual device support"
+ help
+ Say Y here if you want to support the /dev/kmem device. The
+ /dev/kmem device is rarely used, but can be used for certain
+ kind of kernel debugging operations.
+
+config KERNEL_SQUASHFS_FRAGMENT_CACHE_SIZE
+ int "Number of squashfs fragments cached"
+ default 2 if (SMALL_FLASH && !LOW_MEMORY_FOOTPRINT)
+ default 3
+
+#
+# compile optimiziation setting
+#
+choice
+ prompt "Compiler optimization level"
+ default KERNEL_CC_OPTIMIZE_FOR_SIZE if SMALL_FLASH
+
+config KERNEL_CC_OPTIMIZE_FOR_PERFORMANCE
+ bool "Optimize for performance"
+ help
+ This is the default optimization level for the kernel, building
+ with the "-O2" compiler flag for best performance and most
+ helpful compile-time warnings.
+
+config KERNEL_CC_OPTIMIZE_FOR_SIZE
+ bool "Optimize for size"
+ help
+ Enabling this option will pass "-Os" instead of "-O2" to
+ your compiler resulting in a smaller kernel.
+
+endchoice