summaryrefslogtreecommitdiff
path: root/board/samsung/smdkv310/Makefile
blob: dbc621bd61b191711c2db7d370af31c30d52c14d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# Copyright (C) 2011 Samsung Electronics
#
# SPDX-License-Identifier:	GPL-2.0+
#

ifndef CONFIG_SPL_BUILD
obj-y	+= smdkv310.o
endif

ifdef CONFIG_SPL_BUILD
all: $(OBJTREE)/tools/mk$(BOARD)spl
endif

# Fix ME after we implement hostprogs-y.
ifdef CONFIG_SPL_BUILD
$(OBJTREE)/tools/mk$(BOARD)spl:	tools/mkv310_image.c
	$(HOSTCC) tools/mkv310_image.c -o $(OBJTREE)/tools/mk$(BOARD)spl
endif