mirror of
https://git.yoctoproject.org/poky
synced 2026-05-07 16:59:22 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
356a489345
commit
04eb94b84e
@@ -67,7 +67,7 @@ python do_menuconfig() {
|
||||
newmtime = 0
|
||||
|
||||
if newmtime > mtime:
|
||||
bb.note("Configuration changed, recompile will be forced")
|
||||
bb.plain("Changed configuration saved at:\n %s\nRecompile will be forced" % config)
|
||||
bb.build.write_taint('do_compile', d)
|
||||
}
|
||||
do_menuconfig[depends] += "ncurses-native:do_populate_sysroot"
|
||||
|
||||
Reference in New Issue
Block a user