kernel/common-config: Fix older kernels

This commit is contained in:
William A. Kennington III 2015-03-20 14:41:03 -07:00
parent 36ada70250
commit 9dc8335294

View File

@ -171,7 +171,9 @@ with stdenv.lib;
XFS_RT? y # XFS Realtime subvolume support
OCFS2_DEBUG_MASKLOG? n
BTRFS_FS_POSIX_ACL y
UBIFS_FS_XATTR? y
${optionalString (versionAtLeast version "3.12") ''
UBIFS_FS_XATTR? y
''}
UBIFS_FS_ADVANCED_COMPR? y
${optionalString (versionAtLeast version "3.6") ''
NFS_SWAP y
@ -194,12 +196,17 @@ with stdenv.lib;
${optionalString (versionAtLeast version "3.14") ''
CEPH_FS_POSIX_ACL y
''}
SQUASHFS_FILE_DIRECT y
SQUASHFS_DECOMP_MULTI_PERCPU y
${optionalString (versionAtLeast version "3.13") ''
SQUASHFS_FILE_DIRECT y
SQUASHFS_DECOMP_MULTI_PERCPU y
''}
SQUASHFS_XATTR y
SQUASHFS_ZLIB y
SQUASHFS_LZO y
SQUASHFS_XZ y
${optionalString (versionAtLeast version "3.19") ''
SQUASHFS_LZ4 y
''}
# Security related features.
STRICT_DEVMEM y # Filter access to /dev/mem
@ -235,7 +242,9 @@ with stdenv.lib;
BT_HCIUART_BCSP? y
BT_HCIUART_H4? y # UART (H4) protocol support
BT_HCIUART_LL? y
BT_RFCOMM_TTY? y # RFCOMM TTY support
${optionalString (versionAtLeast version "3.4") ''
BT_RFCOMM_TTY? y # RFCOMM TTY support
''}
CRASH_DUMP? n
${optionalString (versionOlder version "3.1") ''
DMAR? n # experimental
@ -310,7 +319,9 @@ with stdenv.lib;
FTRACE_SYSCALLS y
SCHED_TRACER y
STACK_TRACER y
UPROBE_EVENT y
${optionalString (versionAtLeast version "3.10") ''
UPROBE_EVENT y
''}
FUNCTION_PROFILER y
RING_BUFFER_BENCHMARK n