projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
riscv: ax25-ae350: add SPL configuration
[oweals/u-boot.git]
/
scripts
/
Kbuild.include
diff --git
a/scripts/Kbuild.include
b/scripts/Kbuild.include
index 2c7918ad37219b5d2b7e08d64c420283c91b9dfe..b8969e2a75e61f1d1a62ed34aa2ad956aa9ca46e 100644
(file)
--- a/
scripts/Kbuild.include
+++ b/
scripts/Kbuild.include
@@
-7,6
+7,7
@@
quote := "
squote := '
empty :=
space := $(empty) $(empty)
squote := '
empty :=
space := $(empty) $(empty)
+pound := \#
###
# Name of target with a '.' as filename prefix. foo/bar.o => foo/.bar.o
###
# Name of target with a '.' as filename prefix. foo/bar.o => foo/.bar.o
@@
-242,11
+243,11
@@
endif
# Replace >$< with >$$< to preserve $ when reloading the .cmd file
# (needed for make)
# Replace >$< with >$$< to preserve $ when reloading the .cmd file
# (needed for make)
-# Replace >#< with >
\#
< to avoid starting a comment in the .cmd file
+# Replace >#< with >
$(pound)
< to avoid starting a comment in the .cmd file
# (needed for make)
# Replace >'< with >'\''< to be able to enclose the whole string in '...'
# (needed for the shell)
# (needed for make)
# Replace >'< with >'\''< to be able to enclose the whole string in '...'
# (needed for the shell)
-make-cmd = $(call escsq,$(subst
\#,\\\#
,$(subst $$,$$$$,$(cmd_$(1)))))
+make-cmd = $(call escsq,$(subst
$(pound),$$(pound)
,$(subst $$,$$$$,$(cmd_$(1)))))
# Find any prerequisites that is newer than target or that does not exist.
# PHONY targets skipped in both cases.
# Find any prerequisites that is newer than target or that does not exist.
# PHONY targets skipped in both cases.
@@
-314,6
+315,12
@@
why = \
echo-why = $(call escsq, $(strip $(why)))
endif
echo-why = $(call escsq, $(strip $(why)))
endif
+# delete partially updated (i.e. corrupted) files on error
+.DELETE_ON_ERROR:
+
+# do not delete intermediate files automatically
+.SECONDARY:
+
ifdef CONFIG_SPL_BUILD
SPL_ := SPL_
ifeq ($(CONFIG_TPL_BUILD),y)
ifdef CONFIG_SPL_BUILD
SPL_ := SPL_
ifeq ($(CONFIG_TPL_BUILD),y)