1b9a1ef21SChander Kashyap# 2b9a1ef21SChander Kashyap# Copyright (C) 2011 Samsung Electronics 3b9a1ef21SChander Kashyap# 41a459660SWolfgang Denk# SPDX-License-Identifier: GPL-2.0+ 5b9a1ef21SChander Kashyap# 6b9a1ef21SChander Kashyap 798a48c5dSChander Kashyapifndef CONFIG_SPL_BUILD 8*a79854a9SMasahiro Yamadaobj-y += origen.o 998a48c5dSChander Kashyapendif 1098a48c5dSChander Kashyap 1198a48c5dSChander Kashyapifdef CONFIG_SPL_BUILD 12*a79854a9SMasahiro Yamadaall: $(OBJTREE)/tools/mk$(BOARD)spl 1398a48c5dSChander Kashyapendif 1498a48c5dSChander Kashyap 15*a79854a9SMasahiro Yamada# Fix ME after we implement hostprogs-y. 1698a48c5dSChander Kashyapifdef CONFIG_SPL_BUILD 17a2ee7f07SAngus Ainslie$(OBJTREE)/tools/mk$(BOARD)spl: tools/mkv310_image.c 18a2ee7f07SAngus Ainslie $(HOSTCC) tools/mkv310_image.c -o $(OBJTREE)/tools/mk$(BOARD)spl 1998a48c5dSChander Kashyapendif 20