From: Ross Burton Date: Thu, 12 May 2022 14:11:17 +0000 (+0100) Subject: cml1: add showconfig task to easily find the generated .config file X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~409 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7edd3cd80ce6b705cfcf5ab794e809303745b951;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/cml1.bbclass b/meta/classes-recipe/cml1.bbclass index d87d8204e44..d83c636e486 100644 --- a/meta/classes-recipe/cml1.bbclass +++ b/meta/classes-recipe/cml1.bbclass @@ -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