spl: Makefile: Define SPL_ earlier
authorSimon Glass <sjg@chromium.org>
Mon, 16 Jan 2017 14:03:28 +0000 (07:03 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 6 Feb 2017 03:38:46 +0000 (11:38 +0800)
commitd688bd728f2238256a8f4728cf75a711ae38608f
tree97326dc94b097d9b52dd3e67a9e7017c3a1b46d8
parenta704490034c94b87bfe3fa992cc50b9a017b9d2b
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>
scripts/Makefile.spl