summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/cml1.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-05-12 15:11:17 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-07-10 11:36:34 +0100
commit1b5636daf1712fc1ede7a19c003abbad4d9f93bf (patch)
treefc6254b1d836802f0c534cefca4bd93186f05e1e /meta/classes-recipe/cml1.bbclass
parent6d01e5f369e2f12a264ca613a1f165bec05424d9 (diff)
downloadpoky-1b5636daf1712fc1ede7a19c003abbad4d9f93bf.tar.gz
cml1: add showconfig task to easily find the generated .config file
It's not that unusual to want to manually review the generated .config file after do_configure has ran. Add a new 'showconfig' task that simply prints the full path to the .config file, so the user can open it in an editor. (From OE-Core rev: 7edd3cd80ce6b705cfcf5ab794e809303745b951) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/cml1.bbclass')
-rw-r--r--meta/classes-recipe/cml1.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes-recipe/cml1.bbclass b/meta/classes-recipe/cml1.bbclass
index d87d8204e4..d83c636e48 100644
--- a/meta/classes-recipe/cml1.bbclass
+++ b/meta/classes-recipe/cml1.bbclass
@@ -109,3 +109,9 @@ python do_diffconfig() {
109do_diffconfig[nostamp] = "1" 109do_diffconfig[nostamp] = "1"
110do_diffconfig[dirs] = "${KCONFIG_CONFIG_ROOTDIR}" 110do_diffconfig[dirs] = "${KCONFIG_CONFIG_ROOTDIR}"
111addtask diffconfig 111addtask diffconfig
112
113do_showconfig() {
114 bbplain "Config file written to ${KCONFIG_CONFIG_ROOTDIR}/.config"
115}
116do_showconfig[nostamp] = "1"
117addtask showconfig after do_configure