diff options
author | Gabriel Ionescu <gabriel.ionescu@enea.com> | 2017-06-20 15:27:00 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2017-06-21 10:59:08 +0200 |
commit | 40d186df2dc94bcb1b8b0204f691678b9fa87466 (patch) | |
tree | 8027d05c436963c3922031c775cd573d017a72ed /features/debug | |
parent | f42ac6c2248c3b1f49795abd2597856ceb1d8ce3 (diff) | |
download | enea-kernel-cache-40d186df2dc94bcb1b8b0204f691678b9fa87466.tar.gz |
Kernel: Add specific ragments for disabling unnecessary features
Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'features/debug')
-rw-r--r-- | features/debug/debug_kernel_n.cfg | 9 | ||||
-rw-r--r-- | features/debug/debug_kernel_n.scc | 4 | ||||
-rw-r--r-- | features/debug/debug_kernel_y.cfg | 9 | ||||
-rw-r--r-- | features/debug/debug_kernel_y.scc | 4 |
4 files changed, 26 insertions, 0 deletions
diff --git a/features/debug/debug_kernel_n.cfg b/features/debug/debug_kernel_n.cfg new file mode 100644 index 0000000..21a77ab --- /dev/null +++ b/features/debug/debug_kernel_n.cfg | |||
@@ -0,0 +1,9 @@ | |||
1 | CONFIG_DEBUG_KERNEL=n | ||
2 | CONFIG_DEBUG_INFO=n | ||
3 | CONFIG_PCI_DEBUG=n | ||
4 | CONFIG_PCIEASPM_DEBUG=n | ||
5 | CONFIG_PNP_DEBUG_MESSAGES=n | ||
6 | CONFIG_SCHED_DEBUG=n | ||
7 | CONFIG_DEBUG_PREEMPT=n | ||
8 | CONFIG_X86_DEBUG_FPU=n | ||
9 | CONFIG_DEBUG_KMEMLEAK=n | ||
diff --git a/features/debug/debug_kernel_n.scc b/features/debug/debug_kernel_n.scc new file mode 100644 index 0000000..5910f2e --- /dev/null +++ b/features/debug/debug_kernel_n.scc | |||
@@ -0,0 +1,4 @@ | |||
1 | define KFEATURE_DESCRIPTION "Disable options for kernel debug support" | ||
2 | define KFEATURE_COMPATIBILITY all | ||
3 | |||
4 | kconf non-hardware debug_kernel_n.cfg | ||
diff --git a/features/debug/debug_kernel_y.cfg b/features/debug/debug_kernel_y.cfg new file mode 100644 index 0000000..425e7e3 --- /dev/null +++ b/features/debug/debug_kernel_y.cfg | |||
@@ -0,0 +1,9 @@ | |||
1 | CONFIG_DEBUG_KERNEL=y | ||
2 | CONFIG_DEBUG_INFO=y | ||
3 | CONFIG_PCI_DEBUG=y | ||
4 | CONFIG_PCIEASPM_DEBUG=y | ||
5 | CONFIG_PNP_DEBUG_MESSAGES=y | ||
6 | CONFIG_SCHED_DEBUG=y | ||
7 | CONFIG_DEBUG_PREEMPT=y | ||
8 | CONFIG_X86_DEBUG_FPU=y | ||
9 | CONFIG_DEBUG_KMEMLEAK=y | ||
diff --git a/features/debug/debug_kernel_y.scc b/features/debug/debug_kernel_y.scc new file mode 100644 index 0000000..899e2e2 --- /dev/null +++ b/features/debug/debug_kernel_y.scc | |||
@@ -0,0 +1,4 @@ | |||
1 | define KFEATURE_DESCRIPTION "Enable options required for kernel debug support" | ||
2 | define KFEATURE_COMPATIBILITY all | ||
3 | |||
4 | kconf non-hardware debug_kernel_y.cfg | ||