2011-08-18 22:37:19 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2011 Samsung Electronics
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2011-08-18 22:37:19 +00:00
|
|
|
#
|
|
|
|
|
2011-08-18 22:37:20 +00:00
|
|
|
ifndef CONFIG_SPL_BUILD
|
2013-10-21 02:53:37 +00:00
|
|
|
obj-y += origen.o
|
2011-08-18 22:37:20 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
2013-10-21 02:53:37 +00:00
|
|
|
all: $(OBJTREE)/tools/mk$(BOARD)spl
|
2011-08-18 22:37:20 +00:00
|
|
|
endif
|
|
|
|
|
2013-10-21 02:53:37 +00:00
|
|
|
# Fix ME after we implement hostprogs-y.
|
2011-08-18 22:37:20 +00:00
|
|
|
ifdef CONFIG_SPL_BUILD
|
2011-09-12 10:11:58 +00:00
|
|
|
$(OBJTREE)/tools/mk$(BOARD)spl: tools/mkv310_image.c
|
|
|
|
$(HOSTCC) tools/mkv310_image.c -o $(OBJTREE)/tools/mk$(BOARD)spl
|
2011-08-18 22:37:20 +00:00
|
|
|
endif
|