]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - spl/Makefile
tools: convert makefiles to kbuild style
[karo-tx-uboot.git] / spl / Makefile
index 28fcfdd48626101d1619a6bc6ef7d215472d3d3f..3c40a7e523c1807a63a3a4f3d2563aef9e2e6128 100644 (file)
@@ -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)