summaryrefslogtreecommitdiff
path: root/board/overo/Makefile
diff options
context:
space:
mode:
authorArun Bharadwaj <arun@gumstix.com>2015-04-28 16:55:29 -0700
committerTom Rini <trini@konsulko.com>2015-05-10 09:54:54 -0400
commitfe5d488fbef192188bcddb8774154bd5527e468b (patch)
treedd9ccaa3641910518c13c84e191b7ed34a98f7d0 /board/overo/Makefile
parent88d89668b9d9d4553e630c1c4ce3b0bee725e6ec (diff)
downloadu-boot-imx-fe5d488fbef192188bcddb8774154bd5527e468b.zip
u-boot-imx-fe5d488fbef192188bcddb8774154bd5527e468b.tar.gz
u-boot-imx-fe5d488fbef192188bcddb8774154bd5527e468b.tar.bz2
overo: Split overo.c into spl.c, common.c and overo.c
This separates the SPL-specific code from the u-boot-specific code for the Overo board following the discussion at http://lists.denx.de/pipermail/u-boot/2015-April/211622.html The code is split up into spl.c, overo.c and common.c (which has the code common to both) Signed-off-by: Arun Bharadwaj <arun@gumstix.com>
Diffstat (limited to 'board/overo/Makefile')
-rw-r--r--board/overo/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/board/overo/Makefile b/board/overo/Makefile
index 9109484..2189071 100644
--- a/board/overo/Makefile
+++ b/board/overo/Makefile
@@ -5,4 +5,8 @@
# SPDX-License-Identifier: GPL-2.0+
#
-obj-y := overo.o
+ifdef CONFIG_SPL_BUILD
+obj-y := spl.o common.o
+else
+obj-y := overo.o common.o
+endif