summaryrefslogtreecommitdiff
path: root/spl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'spl/Makefile')
-rw-r--r--spl/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/spl/Makefile b/spl/Makefile
index 28fcfdd..3c40a7e 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -165,7 +165,9 @@ else
VAR_SIZE_PARAM =
endif
$(obj)$(BOARD)-spl.bin: $(obj)u-boot-spl.bin
- $(OBJTREE)/tools/mk$(BOARD)spl $(VAR_SIZE_PARAM) $< $@
+ $(if $(wildcard $(OBJTREE)/tools/mk$(BOARD)spl),\
+ $(OBJTREE)/tools/mk$(BOARD)spl,\
+ $(OBJTREE)/tools/mkexynosspl) $(VAR_SIZE_PARAM) $< $@
endif
$(obj)$(SPL_BIN).bin: $(obj)$(SPL_BIN)