From f4162c9716f0760b8ee99e1b5bb0ac4c53180008 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Sun, 13 Sep 2009 20:22:37 +0000 Subject: [PATCH] Turn off more debug options not needed by default svn path=/nixpkgs/trunk/; revision=17103 --- pkgs/os-specific/linux/kernel/linux-2.6.31.nix | 4 ++++ pkgs/os-specific/linux/zen-kernel/2.6.31-zen0.nix | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/linux-2.6.31.nix b/pkgs/os-specific/linux/kernel/linux-2.6.31.nix index 0db512bf99dc..646d70cdd337 100644 --- a/pkgs/os-specific/linux/kernel/linux-2.6.31.nix +++ b/pkgs/os-specific/linux/kernel/linux-2.6.31.nix @@ -41,6 +41,10 @@ import ./generic.nix ( killOption 'CONFIG_.*_DEBUG.*' killOption 'CONFIG_DEBUG.*' killOption CONFIG_AUDIT_ARCH + killOption CONFIG_PERF_COUNTERS + killOption 'CONFIG_GCOV.*' + killOption 'CONFIG_KGDB.*' + killOption 'CONFIG_.*_TEST' killOption CONFIG_KERNEL_BZIP2 killOption CONFIG_KERNEL_LZMA diff --git a/pkgs/os-specific/linux/zen-kernel/2.6.31-zen0.nix b/pkgs/os-specific/linux/zen-kernel/2.6.31-zen0.nix index 89ccadf10ceb..1fb33fdc2638 100644 --- a/pkgs/os-specific/linux/zen-kernel/2.6.31-zen0.nix +++ b/pkgs/os-specific/linux/zen-kernel/2.6.31-zen0.nix @@ -42,6 +42,10 @@ in killOption 'CONFIG_.*_DEBUG.*' killOption 'CONFIG_DEBUG.*' killOption CONFIG_AUDIT_ARCH + killOption CONFIG_PERF_COUNTERS + killOption 'CONFIG_GCOV.*' + killOption 'CONFIG_KGDB.*' + killOption 'CONFIG_.*_TEST' killOption CONFIG_KERNEL_BZIP2 killOption CONFIG_KERNEL_LZMA