mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-29 18:41:30 +00:00
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>
This commit is contained in:
parent
099e884ace
commit
a2ee7f07fa
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
#########################################################################
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue