[linux-yocto] [PATCH 01/13] features/debug: add debug-kernel feature
California Sullivan
california.l.sullivan at intel.com
Thu Feb 4 16:25:42 PST 2016
Since EMBEDDED, EXPERT, and DEBUG_KERNEL are being removed from the base
ktype, we can no longer assume DEBUG_KERNEL is enabled.
Also add this fragment to features that require DEBUG_KERNEL.
Signed-off-by: California Sullivan <california.l.sullivan at intel.com>
---
features/debug/debug-kernel.cfg | 2 ++
features/debug/debug-kernel.scc | 6 ++++++
features/debug/printk.scc | 1 +
features/latencytop/latencytop.scc | 3 +++
features/profiling/profiling.scc | 2 ++
5 files changed, 14 insertions(+)
create mode 100644 features/debug/debug-kernel.cfg
create mode 100644 features/debug/debug-kernel.scc
diff --git a/features/debug/debug-kernel.cfg b/features/debug/debug-kernel.cfg
new file mode 100644
index 0000000..96a7954
--- /dev/null
+++ b/features/debug/debug-kernel.cfg
@@ -0,0 +1,2 @@
+CONFIG_DEBUG_KERNEL=y
+CONFIG_DEBUG_INFO=y
diff --git a/features/debug/debug-kernel.scc b/features/debug/debug-kernel.scc
new file mode 100644
index 0000000..a4527dc
--- /dev/null
+++ b/features/debug/debug-kernel.scc
@@ -0,0 +1,6 @@
+
+define KFEATURE_DESCRIPTION "Enable debug kernel"
+define KFEATURE_COMPATIBILITY all
+
+kconf non-hardware debug-kernel.cfg
+
diff --git a/features/debug/printk.scc b/features/debug/printk.scc
index d592605..3526dea 100644
--- a/features/debug/printk.scc
+++ b/features/debug/printk.scc
@@ -8,3 +8,4 @@ define KFEATURE_COMPATIBILITY all
kconf non-hardware printk.cfg
+include debug-kernel.scc
diff --git a/features/latencytop/latencytop.scc b/features/latencytop/latencytop.scc
index 923b5d9..af59e24 100644
--- a/features/latencytop/latencytop.scc
+++ b/features/latencytop/latencytop.scc
@@ -1,4 +1,7 @@
+
define KFEATURE_DESCRIPTION "Enable latencytop"
define KFEATURE_COMPATIBILITY arch
kconf non-hardware latencytop.cfg
+
+include features/debug/debug-kernel.scc
diff --git a/features/profiling/profiling.scc b/features/profiling/profiling.scc
index 32032fa..f0715e1 100644
--- a/features/profiling/profiling.scc
+++ b/features/profiling/profiling.scc
@@ -1,3 +1,5 @@
+include features/debug/debug-kernel.scc
+
define KFEATURE_DESCRIPTION "Enable profiling and timerstats"
define KFEATURE_COMPATIBILITY board
--
2.5.0
More information about the linux-yocto
mailing list