diff options
| author | Ross Burton <ross.burton@arm.com> | 2022-05-12 15:11:17 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-07-10 11:36:34 +0100 |
| commit | 1b5636daf1712fc1ede7a19c003abbad4d9f93bf (patch) | |
| tree | fc6254b1d836802f0c534cefca4bd93186f05e1e /meta/classes-recipe/cml1.bbclass | |
| parent | 6d01e5f369e2f12a264ca613a1f165bec05424d9 (diff) | |
| download | poky-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.bbclass | 6 |
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() { | |||
| 109 | do_diffconfig[nostamp] = "1" | 109 | do_diffconfig[nostamp] = "1" |
| 110 | do_diffconfig[dirs] = "${KCONFIG_CONFIG_ROOTDIR}" | 110 | do_diffconfig[dirs] = "${KCONFIG_CONFIG_ROOTDIR}" |
| 111 | addtask diffconfig | 111 | addtask diffconfig |
| 112 | |||
| 113 | do_showconfig() { | ||
| 114 | bbplain "Config file written to ${KCONFIG_CONFIG_ROOTDIR}/.config" | ||
| 115 | } | ||
| 116 | do_showconfig[nostamp] = "1" | ||
| 117 | addtask showconfig after do_configure | ||
