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>
This commit is contained in:
Ross Burton
2022-05-12 15:11:17 +01:00
committed by Richard Purdie
parent 6d01e5f369
commit 1b5636daf1

View File

@@ -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