summaryrefslogtreecommitdiffstats
path: root/features/printk
diff options
context:
space:
mode:
authorGabriel Ionescu <gabriel.ionescu@enea.com>2017-06-20 15:27:00 +0200
committerAdrian Dudau <adrian.dudau@enea.com>2017-06-21 10:59:08 +0200
commit40d186df2dc94bcb1b8b0204f691678b9fa87466 (patch)
tree8027d05c436963c3922031c775cd573d017a72ed /features/printk
parentf42ac6c2248c3b1f49795abd2597856ceb1d8ce3 (diff)
downloadenea-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/printk')
-rw-r--r--features/printk/printk_n.cfg3
-rw-r--r--features/printk/printk_n.scc4
-rw-r--r--features/printk/printk_y.cfg4
-rw-r--r--features/printk/printk_y.scc4
4 files changed, 15 insertions, 0 deletions
diff --git a/features/printk/printk_n.cfg b/features/printk/printk_n.cfg
new file mode 100644
index 0000000..7f0df22
--- /dev/null
+++ b/features/printk/printk_n.cfg
@@ -0,0 +1,3 @@
1CONFIG_PRINTK=n
2CONFIG_PRINTK_NMI=n
3CONFIG_X86_VERBOSE_BOOTUP=n
diff --git a/features/printk/printk_n.scc b/features/printk/printk_n.scc
new file mode 100644
index 0000000..3068ffe
--- /dev/null
+++ b/features/printk/printk_n.scc
@@ -0,0 +1,4 @@
1define KFEATURE_DESCRIPTION "Disable options for printk support"
2define KFEATURE_COMPATIBILITY all
3
4kconf non-hardware printk_n.cfg
diff --git a/features/printk/printk_y.cfg b/features/printk/printk_y.cfg
new file mode 100644
index 0000000..0fcc9f0
--- /dev/null
+++ b/features/printk/printk_y.cfg
@@ -0,0 +1,4 @@
1CONFIG_PRINTK=y
2CONFIG_PRINTK_NMI=y
3CONFIG_EARLY_PRINTK=y
4CONFIG_X86_VERBOSE_BOOTUP=y
diff --git a/features/printk/printk_y.scc b/features/printk/printk_y.scc
new file mode 100644
index 0000000..7274316
--- /dev/null
+++ b/features/printk/printk_y.scc
@@ -0,0 +1,4 @@
1define KFEATURE_DESCRIPTION "Enable options for printk support"
2define KFEATURE_COMPATIBILITY all
3
4kconf non-hardware printk_y.cfg