xref: /openbmc/u-boot/board/samsung/smdkv310/Makefile (revision a79854a9)
1e21185baSChander Kashyap#
2e21185baSChander Kashyap# Copyright (C) 2011 Samsung Electronics
3e21185baSChander Kashyap#
41a459660SWolfgang Denk# SPDX-License-Identifier:	GPL-2.0+
5e21185baSChander Kashyap#
6e21185baSChander Kashyap
75187d8ddSChander Kashyapifndef CONFIG_SPL_BUILD
8*a79854a9SMasahiro Yamadaobj-y	+= smdkv310.o
95187d8ddSChander Kashyapendif
105187d8ddSChander Kashyap
115187d8ddSChander Kashyapifdef CONFIG_SPL_BUILD
12*a79854a9SMasahiro Yamadaall: $(OBJTREE)/tools/mk$(BOARD)spl
135187d8ddSChander Kashyapendif
145187d8ddSChander Kashyap
15*a79854a9SMasahiro Yamada# Fix ME after we implement hostprogs-y.
165187d8ddSChander Kashyapifdef CONFIG_SPL_BUILD
175187d8ddSChander Kashyap$(OBJTREE)/tools/mk$(BOARD)spl:	tools/mkv310_image.c
185187d8ddSChander Kashyap	$(HOSTCC) tools/mkv310_image.c -o $(OBJTREE)/tools/mk$(BOARD)spl
195187d8ddSChander Kashyapendif
20