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:
parent
dc588d96b8
commit
67191cb0fa
2
make.sh
2
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"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue