Makefile: Add util/kconfig/Makefile.real to nocompile list
commit4d7285df1d3c7e48100ed39b030b67a7bcf07d0e
authorMartin Roth <gaumless@gmail.com>
Tue, 23 Nov 2021 19:39:44 +0000 (23 12:39 -0700)
committerFelix Singer <felixsinger@posteo.net>
Sun, 17 Jul 2022 22:17:10 +0000 (17 22:17 +0000)
treee62f372424149c1c01fe5b7d6e41a8f821a07970
parent55d0f40734e64e38c1a46b96266daf468c5efad6
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
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59607
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Makefile