]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/samsung/smdkv310/Makefile
board: arm: convert makefiles to Kbuild style
[karo-tx-uboot.git] / board / samsung / smdkv310 / Makefile
1 #
2 # Copyright (C) 2011 Samsung Electronics
3 #
4 # SPDX-License-Identifier:      GPL-2.0+
5 #
6
7 ifndef CONFIG_SPL_BUILD
8 obj-y   += smdkv310.o
9 endif
10
11 ifdef CONFIG_SPL_BUILD
12 all: $(OBJTREE)/tools/mk$(BOARD)spl
13 endif
14
15 # Fix ME after we implement hostprogs-y.
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