diff options
author | Raul E Rangel <rrangel@chromium.org> | 2022-02-25 17:03:10 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2022-02-28 22:00:42 +0000 |
commit | dd6efce934fb5ec1d427b79457690cf8889dad92 (patch) | |
tree | e6095fc216cfbd86ec362ead1a360f519f17800d /Makefile | |
parent | 527d73f1bf44a5f306a3afc55b512f7bad0f032a (diff) |
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>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -193,6 +193,7 @@ strip_quotes = $(strip $(subst ",,$(subst \",,$(1)))) real-all: real-target # must come rather early +.SECONDARY: .SECONDEXPANSION: .DELETE_ON_ERROR: |