Chander Kashyap | b9a1ef2 | 2011-08-18 22:37:19 +0000 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2011 Samsung Electronics |
| 3 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | # SPDX-License-Identifier: GPL-2.0+ |
Chander Kashyap | b9a1ef2 | 2011-08-18 22:37:19 +0000 | [diff] [blame] | 5 | # |
| 6 | |
Chander Kashyap | 98a48c5 | 2011-08-18 22:37:20 +0000 | [diff] [blame] | 7 | ifndef CONFIG_SPL_BUILD |
Masahiro Yamada | a79854a | 2013-10-21 11:53:37 +0900 | [diff] [blame] | 8 | obj-y += origen.o |
Chander Kashyap | 98a48c5 | 2011-08-18 22:37:20 +0000 | [diff] [blame] | 9 | endif |
| 10 | |
Chander Kashyap | 98a48c5 | 2011-08-18 22:37:20 +0000 | [diff] [blame] | 11 | ifdef CONFIG_SPL_BUILD |
Masahiro Yamada | a79854a | 2013-10-21 11:53:37 +0900 | [diff] [blame] | 12 | all: $(OBJTREE)/tools/mk$(BOARD)spl |
Chander Kashyap | 98a48c5 | 2011-08-18 22:37:20 +0000 | [diff] [blame] | 13 | endif |
| 14 | |
Masahiro Yamada | a79854a | 2013-10-21 11:53:37 +0900 | [diff] [blame] | 15 | # Fix ME after we implement hostprogs-y. |
Chander Kashyap | 98a48c5 | 2011-08-18 22:37:20 +0000 | [diff] [blame] | 16 | ifdef CONFIG_SPL_BUILD |
Angus Ainslie | a2ee7f0 | 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 | 98a48c5 | 2011-08-18 22:37:20 +0000 | [diff] [blame] | 19 | endif |