]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[build] Use $(shell ...) to invoke BUILD_ID_CMD
authorManuel Mendez <mmendez534@gmail.com>
Fri, 29 Jan 2021 14:23:54 +0000 (09:23 -0500)
committerMichael Brown <mcb30@ipxe.org>
Sat, 30 Jan 2021 18:06:34 +0000 (18:06 +0000)
commitbc4979e2cf375f7d9bf81ccf00bc2679f3dbabc2
tree70dfdbef328cab58225b1dd843715eb794326e60
parent9d000c9fd7e65a24467098e766e76282c4f4ec6d
[build] Use $(shell ...) to invoke BUILD_ID_CMD

When using $(shell), make will first invoke BUILD_ID_CMD and then have
the value defined when calling $(LD).  This means we get to see the
_build_id when building with make V=1.  Previously the build_id was
figured out as a subshell command run during the recipe execution
without being able to see the build_id itself.

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