projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a704490
)
spl: Makefile: Define SPL_ earlier
author
Simon Glass
<
[email protected]
>
Mon, 16 Jan 2017 14:03:28 +0000
(07:03 -0700)
committer
Bin Meng
<
[email protected]
>
Mon, 6 Feb 2017 03:38:46 +0000
(11:38 +0800)
This Makefile variable can be used in the architecture's main Makefile but
at present it is not set up until later. Set it just before this Makefile is
included.
Signed-off-by: Simon Glass <
[email protected]
>
Reviewed-by: Bin Meng <
[email protected]
>
scripts/Makefile.spl
patch
|
blob
|
history
diff --git
a/scripts/Makefile.spl
b/scripts/Makefile.spl
index c962bbca2c1254e01f8235b88fbc892956be7426..ced10e6f95aefafa7665045f278c5c0176b0f26f 100644
(file)
--- a/
scripts/Makefile.spl
+++ b/
scripts/Makefile.spl
@@
-35,6
+35,12
@@
else
SPL_BIN := u-boot-spl
endif
+ifdef CONFIG_SPL_BUILD
+SPL_ := SPL_
+else
+SPL_ :=
+endif
+
include $(srctree)/config.mk
include $(srctree)/arch/$(ARCH)/Makefile