summaryrefslogtreecommitdiffstats
path: root/board/samsung/origen/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'board/samsung/origen/Makefile')
-rw-r--r--board/samsung/origen/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/samsung/origen/Makefile b/board/samsung/origen/Makefile
index bb6eaf6fa4..3a885a5cdb 100644
--- a/board/samsung/origen/Makefile
+++ b/board/samsung/origen/Makefile
@@ -41,7 +41,7 @@ OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS))
ALL +=$(obj).depend $(LIB)
ifdef CONFIG_SPL_BUILD
-ALL += tools/mk$(BOARD)spl.exe
+ALL += $(OBJTREE)/tools/mk$(BOARD)spl
endif
all: $(ALL)
@@ -50,8 +50,8 @@ $(LIB): $(OBJS)
$(call cmd_link_o_target, $(OBJS))
ifdef CONFIG_SPL_BUILD
-tools/mk$(BOARD)spl.exe: tools/mkv310_image.c
- $(HOSTCC) tools/mkv310_image.c -o tools/mk$(BOARD)spl.exe
+$(OBJTREE)/tools/mk$(BOARD)spl: tools/mkv310_image.c
+ $(HOSTCC) tools/mkv310_image.c -o $(OBJTREE)/tools/mk$(BOARD)spl
endif
#########################################################################
OpenPOWER on IntegriCloud