summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe
diff options
context:
space:
mode:
authorEnrico Jörns <ejo@pengutronix.de>2024-03-05 22:57:28 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-03-30 22:25:43 +0000
commit04eb94b84e915add4f5444957d6c3bcc65e110b8 (patch)
treea44112a26cfd8677897a76a00b0000481353c227 /meta/classes-recipe
parent356a4893450a2e7523ee73344c35979647df5298 (diff)
downloadpoky-04eb94b84e915add4f5444957d6c3bcc65e110b8.tar.gz
cml1: prompt location of updated .config after do_menuconfig()
When modifying the kernel config by invoking '-c menuconfig' manually, a sensible next step is to persist this changed configuration somewhere. A way to do this is to copy the generated .config back to the original config location. For this purpose, emit a copy+pasteable printout of the saved .config path similar to what we have for the fragment location in the 'diffconfig' task already. Example output: | Changed configuration saved at: | /path/to/bsp/build/tmp/work/my-machine-oe-linux/linux-custom/6.6.4/build/.config | Recompile will be forced (From OE-Core rev: b104470763b081f040f4fcac564136fc5562f23b) Signed-off-by: Enrico Jörns <ejo@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r--meta/classes-recipe/cml1.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/cml1.bbclass b/meta/classes-recipe/cml1.bbclass
index 2da19cb4cf..03e5fe6f47 100644
--- a/meta/classes-recipe/cml1.bbclass
+++ b/meta/classes-recipe/cml1.bbclass
@@ -67,7 +67,7 @@ python do_menuconfig() {
67 newmtime = 0 67 newmtime = 0
68 68
69 if newmtime > mtime: 69 if newmtime > mtime:
70 bb.note("Configuration changed, recompile will be forced") 70 bb.plain("Changed configuration saved at:\n %s\nRecompile will be forced" % config)
71 bb.build.write_taint('do_compile', d) 71 bb.build.write_taint('do_compile', d)
72} 72}
73do_menuconfig[depends] += "ncurses-native:do_populate_sysroot" 73do_menuconfig[depends] += "ncurses-native:do_populate_sysroot"