blob: e8818bf9b11f18a6a855bcc685d61c1a12a5c184 [file] [log] [blame]
Chander Kashyap0e7ab682011-08-18 22:37:19 +00001#
2# Copyright (C) 2011 Samsung Electronics
3#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Chander Kashyap0e7ab682011-08-18 22:37:19 +00005#
6
Chander Kashyap488ef1a2011-08-18 22:37:20 +00007ifndef CONFIG_SPL_BUILD
Masahiro Yamada5d23de52013-10-21 11:53:37 +09008obj-y += origen.o
Chander Kashyap488ef1a2011-08-18 22:37:20 +00009endif
10
Chander Kashyap488ef1a2011-08-18 22:37:20 +000011ifdef CONFIG_SPL_BUILD
Masahiro Yamada5d23de52013-10-21 11:53:37 +090012all: $(OBJTREE)/tools/mk$(BOARD)spl
Chander Kashyap488ef1a2011-08-18 22:37:20 +000013endif
14
Masahiro Yamada5d23de52013-10-21 11:53:37 +090015# Fix ME after we implement hostprogs-y.
Chander Kashyap488ef1a2011-08-18 22:37:20 +000016ifdef CONFIG_SPL_BUILD
Angus Ainslieb20564c2011-09-12 10:11:58 +000017$(OBJTREE)/tools/mk$(BOARD)spl: tools/mkv310_image.c
18 $(HOSTCC) tools/mkv310_image.c -o $(OBJTREE)/tools/mk$(BOARD)spl
Chander Kashyap488ef1a2011-08-18 22:37:20 +000019endif