diff options
author | Simon Glass <sjg@chromium.org> | 2017-01-16 07:03:28 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2017-02-06 11:38:46 +0800 |
commit | d688bd728f2238256a8f4728cf75a711ae38608f (patch) | |
tree | 97326dc94b097d9b52dd3e67a9e7017c3a1b46d8 /scripts | |
parent | a704490034c94b87bfe3fa992cc50b9a017b9d2b (diff) | |
download | u-boot-imx-d688bd728f2238256a8f4728cf75a711ae38608f.zip u-boot-imx-d688bd728f2238256a8f4728cf75a711ae38608f.tar.gz u-boot-imx-d688bd728f2238256a8f4728cf75a711ae38608f.tar.bz2 |
spl: Makefile: Define SPL_ earlier
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 <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.spl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl index c962bbc..ced10e6 100644 --- 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 |