2 # Copyright (C) 2011 Samsung Electronics
4 # SPDX-License-Identifier: GPL-2.0+
7 ifndef CONFIG_SPL_BUILD
11 ifdef CONFIG_SPL_BUILD
12 all: $(OBJTREE)/tools/mk$(BOARD)spl
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