Makefile: Add a warning if SPL/TPL cannot be built
authorSimon Glass <sjg@chromium.org>
Mon, 1 Oct 2018 18:22:11 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 9 Oct 2018 10:40:27 +0000 (04:40 -0600)
commit2c5eac1e1820163d3776e1f842550bfc4a88d136
tree65b8f3f228614a33c719b4f21af9bd5eb178258a
parent985ca3945fa3cbb2933d1be9d72022c0ac4d3da9
Makefile: Add a warning if SPL/TPL cannot be built

At present the build fails in strange ways if CONFIG_SPL is defined by
CONFIG_SUPPORT_SPL is not. Add a warning for this case as it can be very
confusing to debug.

Signed-off-by: Simon Glass <sjg@chromium.org>
scripts/Makefile.spl