[linux-yocto] [PATCH 03/10] meta: Add lto-debug feature
Alejandro Hernandez
alejandro.hernandez at linux.intel.com
Thu Dec 22 10:18:47 PST 2016
From: Tom Zanussi <tom.zanussi at linux.intel.com>
Add a feature for enabling debug files to be generated by kernel LTO.
To enable LTO debug for the kernel, add (for example):
KERNEL_FEATURES_append_galileo += " features/lto-debug.scc"
Signed-off-by: Tom Zanussi <tom.zanussi at linux.intel.com>
---
features/lto/lto-debug.cfg | 1 +
features/lto/lto-debug.scc | 4 ++++
2 files changed, 5 insertions(+)
create mode 100644 features/lto/lto-debug.cfg
create mode 100644 features/lto/lto-debug.scc
diff --git a/features/lto/lto-debug.cfg b/features/lto/lto-debug.cfg
new file mode 100644
index 0000000..fc2e057
--- /dev/null
+++ b/features/lto/lto-debug.cfg
@@ -0,0 +1 @@
+CONFIG_LTO_DEBUG=y
diff --git a/features/lto/lto-debug.scc b/features/lto/lto-debug.scc
new file mode 100644
index 0000000..6f6574a
--- /dev/null
+++ b/features/lto/lto-debug.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable the creation of LTO debug files"
+define KFEATURE_COMPATIBILITY all
+
+kconf hardware lto-debug.cfg
--
2.6.6
More information about the linux-yocto
mailing list