wandboard: Rework Makefile to prevent spl.o from being built
authorEzequiel Garcia <ezequiel@collabora.com>
Sat, 25 May 2019 22:19:41 +0000 (19:19 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Jun 2019 08:42:48 +0000 (10:42 +0200)
commit5ef237ad6faf0765985e2942c968f9834bc791ef
treec5f802e12801a8e645d75b3cb07569f11a069337
parentcc48c2a5cfdbd883078f6b17608090482e5f60ca
wandboard: Rework Makefile to prevent spl.o from being built

The spl.c source was entirely conditioned by CONFIG_SPL_BUILD.
Change this moving CONFIG_SPL_BUILD to be used in the Makefile,
which is slightly cleaner and more readable.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
board/wandboard/Makefile
board/wandboard/spl.c