cml1: add showconfig task to easily find the generated .config file
PATCH 1/1 cml1: add showconfig task to easily find the generated .config file
From: Ross Burton <[email protected]>
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.
Signed-off-by Ross Burton <[email protected]>
--- meta/classes-recipe/cml1.bbclass | 6 ++++++ 1 file changed, 6 insertions(+)
meta/classes-recipe/cml1.bbclass +6 -0
@@ -109,3 +109,9 @@ python do_diffconfig() { do_diffconfig[nostamp] = "1" do_diffconfig[dirs] = "${KCONFIG_CONFIG_ROOTDIR}" addtask diffconfig + +do_showconfig() { + bbplain "Config file written to ${KCONFIG_CONFIG_ROOTDIR}/.config" +} +do_showconfig[nostamp] = "1" +addtask showconfig after do_configure
Signature · 1 line
2.34.1