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:
Kever Yang 2018-11-21 18:19:25 +08:00
parent 41442d6c2c
commit 31bc0a57fb
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ cat << EOF
compression = "none";
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'`
UBOOT_OFFSET=0x00200000
UBOOT_BASE=$((DARM_BASE+UBOOT_OFFSET))