Chander Kashyap | e21185b | 2011-05-24 20:02:56 +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 | e21185b | 2011-05-24 20:02:56 +0000 | [diff] [blame] | 5 | # |
| 6 | |
Chander Kashyap | 5187d8d | 2011-09-20 21:25:03 +0000 | [diff] [blame] | 7 | ifndef CONFIG_SPL_BUILD |
Masahiro Yamada | a79854a | 2013-10-21 11:53:37 +0900 | [diff] [blame] | 8 | obj-y += smdkv310.o |
Chander Kashyap | 5187d8d | 2011-09-20 21:25:03 +0000 | [diff] [blame] | 9 | endif |
| 10 | |
Chander Kashyap | 5187d8d | 2011-09-20 21:25:03 +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 | 5187d8d | 2011-09-20 21:25:03 +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 | 5187d8d | 2011-09-20 21:25:03 +0000 | [diff] [blame] | 16 | ifdef 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 |
| 19 | endif |