blob: dbc621bd61b191711c2db7d370af31c30d52c14d [file] [log] [blame]
Chander Kashyapbfef54d2011-05-24 20:02:56 +00001#
2# Copyright (C) 2011 Samsung Electronics
3#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Chander Kashyapbfef54d2011-05-24 20:02:56 +00005#
6
Chander Kashyap0cd984c2011-09-20 21:25:03 +00007ifndef CONFIG_SPL_BUILD
Masahiro Yamada5d23de52013-10-21 11:53:37 +09008obj-y += smdkv310.o
Chander Kashyap0cd984c2011-09-20 21:25:03 +00009endif
10
Chander Kashyap0cd984c2011-09-20 21:25:03 +000011ifdef CONFIG_SPL_BUILD
Masahiro Yamada5d23de52013-10-21 11:53:37 +090012all: $(OBJTREE)/tools/mk$(BOARD)spl
Chander Kashyap0cd984c2011-09-20 21:25:03 +000013endif
14
Masahiro Yamada5d23de52013-10-21 11:53:37 +090015# Fix ME after we implement hostprogs-y.
Chander Kashyap0cd984c2011-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