summaryrefslogtreecommitdiff
path: root/board/liebherr/mccmon6/Makefile
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2019-10-15 10:28:44 +0200
committerStefano Babic <sbabic@denx.de>2019-11-03 17:04:16 +0100
commite0fe3dcbd0246c5d5608b5505858acd984d4f3c9 (patch)
tree93385961eb9121f397851fa241f1666da725dac7 /board/liebherr/mccmon6/Makefile
parent8e64181a9986d2dd2e23bed1541590084eec0c57 (diff)
ARM: imx: Decouple mccmon6's SPL and u-boot proper code
The mccmon6 has been used a "mixed" approach between SPL and U-Boot proper sources. This commit decoupes SPL and u-boot proper, which allows clear distinction between those two code bases and facilitates conversion to DM/DTS on this particular board. Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'board/liebherr/mccmon6/Makefile')
-rw-r--r--board/liebherr/mccmon6/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/board/liebherr/mccmon6/Makefile b/board/liebherr/mccmon6/Makefile
index ead6750ebf..3c9786c6b7 100644
--- a/board/liebherr/mccmon6/Makefile
+++ b/board/liebherr/mccmon6/Makefile
@@ -2,5 +2,8 @@
#
# (C) Copyright 2016-2017
# Lukasz Majewski, DENX Software Engineering, lukma@denx.de
-
-obj-y := mccmon6.o spl.o
+ifdef CONFIG_SPL_BUILD
+obj-y := spl.o
+else
+obj-y := mccmon6.o
+endif