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 <andy.yan@rock-chips.com>
This commit is contained in:
Andy Yan 2018-05-02 15:32:04 +08:00 committed by Kever Yang
parent dc588d96b8
commit 67191cb0fa
1 changed files with 1 additions and 1 deletions

View File

@ -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"
}