[U-Boot] [PATCH 01/17] u-boot.img file not created when srctree and objtree are different

Vipin KUMAR vipin.kumar at st.com
Wed Apr 21 09:54:27 CEST 2010


Adding ($obj) before tools/mkimage for u-boot.img file creation

Signed-off-by: Vipin Kumar <vipin.kumar at st.com>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 0381c81..1b431a5 100644
--- a/Makefile
+++ b/Makefile
@@ -317,7 +317,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"/') \
-- 
1.6.0.2



More information about the U-Boot mailing list