From: Tom Zanussi <tom.zanu...@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.zanu...@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 -- _______________________________________________ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto