From 67191cb0fa32b4c8e6967a7169707b343ccf1161 Mon Sep 17 00:00:00 2001 From: Andy Yan Date: Wed, 2 May 2018 15:32:04 +0800 Subject: [PATCH] make.sh: add prefix / for u-boot.img & u-boot-dtb.img We can set a special build output dir for ${OUTDIR} by argument -o, so the correct way to locate a output object is ${OUTDIR}/obj. Change-Id: I894b44d703afe2d21fcf7dddfbb82ae943835021 Signed-off-by: Andy Yan --- make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.sh b/make.sh index 10c1d8514c..5c896931b3 100755 --- a/make.sh +++ b/make.sh @@ -134,7 +134,7 @@ pack_uboot_image() UBOOT_LOAD_ADDR=`sed -n "/CONFIG_SYS_TEXT_BASE=/s/CONFIG_SYS_TEXT_BASE=//p" ${OUTDIR}/include/autoconf.mk|tr -d '\r'` ${TOOLCHAIN_RKBIN}/loaderimage --pack --uboot ${OUTDIR}/u-boot.bin uboot.img ${UBOOT_LOAD_ADDR} - rm u-boot.img u-boot-dtb.img + rm ${OUTDIR}/u-boot.img ${OUTDIR}/u-boot-dtb.img echo "pack uboot okay! Input: ${OUTDIR}/u-boot.bin" }