Chander Kashyap | 0e7ab68 | 2011-08-18 22:37:19 +0000 | [diff] [blame] | 1 | # |
2 | # Copyright (C) 2011 Samsung Electronics | ||||
3 | # | ||||
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | # SPDX-License-Identifier: GPL-2.0+ |
Chander Kashyap | 0e7ab68 | 2011-08-18 22:37:19 +0000 | [diff] [blame] | 5 | # |
6 | |||||
Chander Kashyap | 488ef1a | 2011-08-18 22:37:20 +0000 | [diff] [blame] | 7 | ifndef CONFIG_SPL_BUILD |
Masahiro Yamada | 5d23de5 | 2013-10-21 11:53:37 +0900 | [diff] [blame^] | 8 | obj-y += origen.o |
Chander Kashyap | 488ef1a | 2011-08-18 22:37:20 +0000 | [diff] [blame] | 9 | endif |
10 | |||||
Chander Kashyap | 488ef1a | 2011-08-18 22:37:20 +0000 | [diff] [blame] | 11 | ifdef CONFIG_SPL_BUILD |
Masahiro Yamada | 5d23de5 | 2013-10-21 11:53:37 +0900 | [diff] [blame^] | 12 | all: $(OBJTREE)/tools/mk$(BOARD)spl |
Chander Kashyap | 488ef1a | 2011-08-18 22:37:20 +0000 | [diff] [blame] | 13 | endif |
14 | |||||
Masahiro Yamada | 5d23de5 | 2013-10-21 11:53:37 +0900 | [diff] [blame^] | 15 | # Fix ME after we implement hostprogs-y. |
Chander Kashyap | 488ef1a | 2011-08-18 22:37:20 +0000 | [diff] [blame] | 16 | ifdef CONFIG_SPL_BUILD |
Angus Ainslie | b20564c | 2011-09-12 10:11:58 +0000 | [diff] [blame] | 17 | $(OBJTREE)/tools/mk$(BOARD)spl: tools/mkv310_image.c |
18 | $(HOSTCC) tools/mkv310_image.c -o $(OBJTREE)/tools/mk$(BOARD)spl | ||||
Chander Kashyap | 488ef1a | 2011-08-18 22:37:20 +0000 | [diff] [blame] | 19 | endif |