rockchip: make_fit_optee: update output dir
The output directory is not the same for different build system, let's get it from environment. Change-Id: Ifa05c9bc09d5b609d16bcbed767bccd3c2bbaa38 Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
41442d6c2c
commit
31bc0a57fb
|
|
@ -23,7 +23,7 @@ cat << EOF
|
||||||
compression = "none";
|
compression = "none";
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
OUTDIR="/home/kever/src/u-boot"
|
OUTDIR=$PWD
|
||||||
DARM_BASE=`sed -n "/CONFIG_SYS_SDRAM_BASE=/s/CONFIG_SYS_SDRAM_BASE=//p" ${OUTDIR}/include/autoconf.mk|tr -d '\r'`
|
DARM_BASE=`sed -n "/CONFIG_SYS_SDRAM_BASE=/s/CONFIG_SYS_SDRAM_BASE=//p" ${OUTDIR}/include/autoconf.mk|tr -d '\r'`
|
||||||
UBOOT_OFFSET=0x00200000
|
UBOOT_OFFSET=0x00200000
|
||||||
UBOOT_BASE=$((DARM_BASE+UBOOT_OFFSET))
|
UBOOT_BASE=$((DARM_BASE+UBOOT_OFFSET))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue