summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-05-15 21:23:51 +0200
committerWolfgang Denk <wd@denx.de>2010-05-16 02:18:38 +0200
commita2a0a7171303de5d8ce099344efde2e29ee36eb0 (patch)
tree79c0e71133f5118e1aa6857f22754eb4ea3fd3d5
parent2e4f35dbd8e11c3121af99ea8e04ce4fb39e9a4e (diff)
downloadu-boot-imx-a2a0a7171303de5d8ce099344efde2e29ee36eb0.zip
u-boot-imx-a2a0a7171303de5d8ce099344efde2e29ee36eb0.tar.gz
u-boot-imx-a2a0a7171303de5d8ce099344efde2e29ee36eb0.tar.bz2
Makefile: fix out-of-tree building of "u-boot.img" target
Signed-off-by: Wolfgang Denk <wd@denx.de>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 82cbbf4..1445e8b 100644
--- 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"/') \