summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2017-09-16 15:09:10 +0300
committerTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>2017-09-16 15:09:10 +0300
commit9a6aa33422d0f286219d91168081e6fdb75a07ef (patch)
tree66ef4badadd52793a8fec10b5bf1b409942e838a /pkgs/os-specific
parent97b66c8f5fd83befcf17ed73b30edbeb24930f1d (diff)
downloadnixlib-9a6aa33422d0f286219d91168081e6fdb75a07ef.tar
nixlib-9a6aa33422d0f286219d91168081e6fdb75a07ef.tar.gz
nixlib-9a6aa33422d0f286219d91168081e6fdb75a07ef.tar.bz2
nixlib-9a6aa33422d0f286219d91168081e6fdb75a07ef.tar.lz
nixlib-9a6aa33422d0f286219d91168081e6fdb75a07ef.tar.xz
nixlib-9a6aa33422d0f286219d91168081e6fdb75a07ef.tar.zst
nixlib-9a6aa33422d0f286219d91168081e6fdb75a07ef.zip
kernel: Disable DEBUG_INFO
Since we don't have a split debug info output yet, don't waste time
writing several gigabytes of debug info that's all going to be stripped
out at the end.

This change only affects Aarch64 (where some joker has enabled it in the
architecture defconfig) and is a no-op on the others.
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/kernel/common-config.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix
index efad17f43b4c..4a97a466e0f0 100644
--- a/pkgs/os-specific/linux/kernel/common-config.nix
+++ b/pkgs/os-specific/linux/kernel/common-config.nix
@@ -38,6 +38,7 @@ with stdenv.lib;
   DEBUG_STACKOVERFLOW n
   SCHEDSTATS n
   DETECT_HUNG_TASK y
+  DEBUG_INFO n # Not until we implement a separate debug output
 
   ${optionalString (versionOlder version "4.4") ''
     CPU_NOTIFIER_ERROR_INJECT? n