mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
Kernel config: Separate power management and debugging
This commit is contained in:
parent
13764f0b0f
commit
26da67ff73
@ -3,19 +3,9 @@
|
||||
with stdenv.lib;
|
||||
|
||||
''
|
||||
# Power management and debugging.
|
||||
# Debugging.
|
||||
DEBUG_KERNEL y
|
||||
PM_ADVANCED_DEBUG y
|
||||
${optionalString (versionOlder version "3.19") ''
|
||||
PM_RUNTIME y
|
||||
''}
|
||||
${optionalString (versionAtLeast version "3.10") ''
|
||||
X86_INTEL_PSTATE y
|
||||
''}
|
||||
TIMER_STATS y
|
||||
${optionalString (versionOlder version "3.10") ''
|
||||
USB_SUSPEND y
|
||||
''}
|
||||
BACKTRACE_SELF_TEST n
|
||||
CPU_NOTIFIER_ERROR_INJECT? n
|
||||
DEBUG_DEVRES n
|
||||
@ -28,6 +18,18 @@ with stdenv.lib;
|
||||
SCHEDSTATS n
|
||||
DETECT_HUNG_TASK y
|
||||
|
||||
# Power management.
|
||||
${optionalString (versionOlder version "3.19") ''
|
||||
PM_RUNTIME y
|
||||
''}
|
||||
PM_ADVANCED_DEBUG y
|
||||
${optionalString (versionAtLeast version "3.10") ''
|
||||
X86_INTEL_PSTATE y
|
||||
''}
|
||||
${optionalString (versionOlder version "3.10") ''
|
||||
USB_SUSPEND y
|
||||
''}
|
||||
|
||||
# Support drivers that need external firmware.
|
||||
STANDALONE n
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user