]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Avoid spurious "make clean" when building for the first time
authorMichael Brown <mcb30@ipxe.org>
Thu, 4 Feb 2021 02:45:45 +0000 (02:45 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 4 Feb 2021 02:53:25 +0000 (02:53 +0000)
commitbfb72ec2342409ff196bc5efa34ea367cb8c963e
treeee4eb5e9ef9f2a851942784e5aaac1e585037379
parent885c6d6e985c68cc89a7458afad0bf39637ec66e
[build] Avoid spurious "make clean" when building for the first time

The function trace recorder build logic defaults to making "clean" a
dependency of the first build in a clean checkout.  This is redundant
and causes problems if the build process spins up multiple make
invocations to handle multiple build architectures.

Fix by replacing with logic based on the known-working patterns used
for the ASSERT and PROFILE build parameters.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/Makefile.housekeeping