diff mbox

[v2] ORIGEN : use absolute paths and fix tool naming

Message ID 1315858318-19571-1-git-send-email-angus.ainslie@linaro.org
State Accepted
Headers show

Commit Message

Angus Ainslie Sept. 12, 2011, 8:11 p.m. UTC
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>
---
 board/samsung/origen/Makefile |    6 +++---
 spl/Makefile                  |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

Comments

Minkyu Kang Sept. 16, 2011, 8:33 a.m. UTC | #1
Dear Angus Ainslie

On 13 September 2011 05:11, Angus Ainslie <angus.ainslie@linaro.org> wrote:
> 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>
> ---
>  board/samsung/origen/Makefile |    6 +++---
>  spl/Makefile                  |    2 +-
>  2 files changed, 4 insertions(+), 4 deletions(-)
>

applied to u-boot-samsung.
Thanks.

Minkyu Kang.
diff mbox

Patch

diff --git a/board/samsung/origen/Makefile b/board/samsung/origen/Makefile
index f5c6507..76a359c 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)
 	$(AR) $(ARFLAGS) $@ $(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
 
 #########################################################################
diff --git a/spl/Makefile b/spl/Makefile
index 95ecce1..dc3f4be 100644
--- a/spl/Makefile
+++ b/spl/Makefile
@@ -101,7 +101,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