blob: dbc621bd61b191711c2db7d370af31c30d52c14d [file] [log] [blame]
Chander Kashyape21185b2011-05-24 20:02:56 +00001#
2# Copyright (C) 2011 Samsung Electronics
3#
Wolfgang Denk1a459662013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Chander Kashyape21185b2011-05-24 20:02:56 +00005#
6
Chander Kashyap5187d8d2011-09-20 21:25:03 +00007ifndef CONFIG_SPL_BUILD
Masahiro Yamadaa79854a2013-10-21 11:53:37 +09008obj-y += smdkv310.o
Chander Kashyap5187d8d2011-09-20 21:25:03 +00009endif
10
Chander Kashyap5187d8d2011-09-20 21:25:03 +000011ifdef CONFIG_SPL_BUILD
Masahiro Yamadaa79854a2013-10-21 11:53:37 +090012all: $(OBJTREE)/tools/mk$(BOARD)spl
Chander Kashyap5187d8d2011-09-20 21:25:03 +000013endif
14
Masahiro Yamadaa79854a2013-10-21 11:53:37 +090015# Fix ME after we implement hostprogs-y.
Chander Kashyap5187d8d2011-09-20 21:25:03 +000016ifdef CONFIG_SPL_BUILD
17$(OBJTREE)/tools/mk$(BOARD)spl: tools/mkv310_image.c
18 $(HOSTCC) tools/mkv310_image.c -o $(OBJTREE)/tools/mk$(BOARD)spl
19endif