rv1126_rv1109: app-build: fix can not find buildroot

Signed-off-by: Weiwen Chen <cww@rock-chips.com>
Change-Id: I1de5a39cade8765c21a90be424d20bb88bc0c000
This commit is contained in:
Weiwen Chen
2020-12-21 17:24:15 +08:00
parent 0a92d3b64d
commit 8c2c3fbd0a

View File

@ -69,6 +69,13 @@ function rebuild()
} }
unset NEW_OPTS unset NEW_OPTS
if [ "${RK_CFG_BUILDROOT}x" != "x" ];then
export TARGET_OUTPUT_DIR="$TOP_DIR/buildroot/output/$RK_CFG_BUILDROOT"
else
if [ "${RK_CFG_RAMBOOT}x" != "x" ];then
export TARGET_OUTPUT_DIR="$TOP_DIR/buildroot/output/$RK_CFG_RAMBOOT"
fi
fi
for option in ${OPTIONS}; do for option in ${OPTIONS}; do
echo "processing board option: $option" echo "processing board option: $option"
case $option in case $option in