u-boot/board/wandboard/Makefile
Ezequiel Garcia 5ef237ad6f 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>
2019-06-11 10:42:48 +02:00

6 lines
145 B
Makefile

# SPDX-License-Identifier: GPL-2.0+
#
# (C) Copyright 2013 Freescale Semiconductor, Inc.
obj-y := wandboard.o
obj-$(CONFIG_SPL_BUILD) += spl.o