]> git.sur5r.net Git - u-boot/commitdiff
ORIGEN : use absolute paths and fix tool naming
authorAngus Ainslie <angus.ainslie@linaro.org>
Mon, 12 Sep 2011 10:11:58 +0000 (10:11 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 3 Nov 2011 21:56:20 +0000 (22:56 +0100)
On some hosts using relative paths will cause the build to fail. This
patch sets absolute paths for the tools directory

Get rid of MSDOS style excecutable extension

Signed-off-by: Angus Ainslie <angus.ainslie@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/origen/Makefile
spl/Makefile

index bb6eaf6fa488f28954e604507467b4931608986b..3a885a5cdb2f4a4feafdab3859ce5ad60bc5de24 100644 (file)
@@ -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
 
 #########################################################################
index ed1f7701c5c4020871e57acf0c34bb6c847ec2ce..d4d754de6c5022542189291db34690b3ad14c209 100644 (file)
@@ -110,7 +110,7 @@ all:        $(ALL-y)
 
 ifdef CONFIG_SAMSUNG
 $(obj)$(BOARD)-spl.bin: $(obj)u-boot-spl.bin
-       $(TOPDIR)/board/$(BOARDDIR)/tools/mk$(BOARD)spl.exe \
+       $(OBJTREE)/tools/mk$(BOARD)spl \
                $(obj)u-boot-spl.bin $(obj)$(BOARD)-spl.bin
 endif