Patrick Georgi has uploaded a new patch set (#3) to the change originally created by Martin Roth. ( https://review.coreboot.org/c/coreboot/+/59607 )
Change subject: Makefile: Add util/kconfig/Makefile.real to nocompile list ......................................................................
Makefile: Add util/kconfig/Makefile.real to nocompile list
Messages shown with the $(info Make command could be shown twice because the entire Makefile stack was evaluated twice at MAKELEVEL 0. The first time was to generate the build/util/kconfig/Makefile.real file. The second time was to do the rest of the build. Adding the kconfig Makefile.real file to the nocompile list prevents all the rest of the coreboot makefiles from being read in during that first step, which prevents the messages from being printed twice.
You can see this behavior by running "make clean; make -d" and searching for the text: "Successfully remade target file 'build/util/kconfig/Makefile.real'."
This breaks when the build target is 'tools', so add an exception for just that target.
Signed-off-by: Martin Roth gaumless@gmail.com Change-Id: If29c3a84c7c82ea099ef9610f4ecaa599f0d8649 --- M Makefile 1 file changed, 11 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/07/59607/3