Merge pull request #40419 from oxij/pkgs/fix-linux-debug
linuxPackages.kernel: config: fix DEBUG_INFO setting
This commit is contained in:
parent
5efda047c6
commit
5a6d202a43
@ -37,7 +37,12 @@ with stdenv.lib;
|
|||||||
DEBUG_STACKOVERFLOW n
|
DEBUG_STACKOVERFLOW n
|
||||||
SCHEDSTATS n
|
SCHEDSTATS n
|
||||||
DETECT_HUNG_TASK y
|
DETECT_HUNG_TASK y
|
||||||
DEBUG_INFO n # Not until we implement a separate debug output
|
|
||||||
|
${if (features.debug or false) then ''
|
||||||
|
DEBUG_INFO y
|
||||||
|
'' else ''
|
||||||
|
DEBUG_INFO n
|
||||||
|
''}
|
||||||
|
|
||||||
${optionalString (versionOlder version "4.4") ''
|
${optionalString (versionOlder version "4.4") ''
|
||||||
CPU_NOTIFIER_ERROR_INJECT? n
|
CPU_NOTIFIER_ERROR_INJECT? n
|
||||||
@ -709,9 +714,5 @@ with stdenv.lib;
|
|||||||
DEBUG_MEMORY_INIT? y
|
DEBUG_MEMORY_INIT? y
|
||||||
''}
|
''}
|
||||||
|
|
||||||
${optionalString (features.debug or false) ''
|
|
||||||
DEBUG_INFO y
|
|
||||||
''}
|
|
||||||
|
|
||||||
${extraConfig}
|
${extraConfig}
|
||||||
''
|
''
|
||||||
|
Loading…
Reference in New Issue
Block a user