summaryrefslogtreecommitdiff
path: root/board/samsung
diff options
context:
space:
mode:
authorAngus Ainslie <angus.ainslie@linaro.org>2011-09-12 10:11:58 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-11-03 22:56:20 +0100
commita2ee7f07fa5c72e739abfaaeab4e6bad61570ba7 (patch)
tree062ef2876a15a8e29da1ee93d4bca604516d3807 /board/samsung
parent099e884ace0fb092e49f4cc803fc92c93c3f161f (diff)
downloadu-boot-imx-a2ee7f07fa5c72e739abfaaeab4e6bad61570ba7.zip
u-boot-imx-a2ee7f07fa5c72e739abfaaeab4e6bad61570ba7.tar.gz
u-boot-imx-a2ee7f07fa5c72e739abfaaeab4e6bad61570ba7.tar.bz2
ORIGEN : use absolute paths and fix tool naming
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>
Diffstat (limited to 'board/samsung')
-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 bb6eaf6..3a885a5 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
#########################################################################