summaryrefslogtreecommitdiff
path: root/board/samsung/origen/Makefile
blob: e8818bf9b11f18a6a855bcc685d61c1a12a5c184 (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	+= origen.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