Makefile: Add .SECONDARY
We currently delete intermediate files. This can make it difficult to debug and is also unexpected. Setting .SECONDARY will prevent make from deleting the files. BUG=b:221231786 TEST=Build guybrush with CL stack and see .map files are preserved Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I657a696acc71d42ba94442d4754ee63efd3e6a74 Reviewed-on: https://review.coreboot.org/c/coreboot/+/62398 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
527d73f1bf
commit
dd6efce934
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
|
@ -193,6 +193,7 @@ strip_quotes = $(strip $(subst ",,$(subst \",,$(1))))
|
||||||
real-all: real-target
|
real-all: real-target
|
||||||
|
|
||||||
# must come rather early
|
# must come rather early
|
||||||
|
.SECONDARY:
|
||||||
.SECONDEXPANSION:
|
.SECONDEXPANSION:
|
||||||
.DELETE_ON_ERROR:
|
.DELETE_ON_ERROR:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue