]> git.sur5r.net Git - u-boot/commitdiff
Makefile: fix out-of-tree building of "u-boot.img" target
authorWolfgang Denk <wd@denx.de>
Sat, 15 May 2010 19:23:51 +0000 (21:23 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 16 May 2010 00:18:38 +0000 (02:18 +0200)
Signed-off-by: Wolfgang Denk <wd@denx.de>
Makefile

index 82cbbf458a99b872ac7cc0ac7589c54d084b3824..1445e8b4d51df0fbae31a967df2f6a3cb462e956 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -313,7 +313,7 @@ $(obj)u-boot.ldr.srec:      $(obj)u-boot.ldr
                $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ -I binary
 
 $(obj)u-boot.img:      $(obj)u-boot.bin
-               ./tools/mkimage -A $(ARCH) -T firmware -C none \
+               $(obj)tools/mkimage -A $(ARCH) -T firmware -C none \
                -a $(TEXT_BASE) -e 0 \
                -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
                        sed -e 's/"[     ]*$$/ for $(BOARD) board"/') \