Merge "common: mk-buildroot: skip building buildroot rootfs when config is empty"

This commit is contained in:
Eddie.Cai
2018-09-13 18:14:16 +08:00
committed by Gerrit Code Review

View File

@ -11,6 +11,11 @@ cd ../../..
TOP_DIR=$(pwd)
BOARD_CONFIG=$1
source $BOARD_CONFIG
if [ -z $RK_CFG_BUILDROOT ]
then
echo "RK_CFG_BUILDROOT is empty, skip building buildroot rootfs!"
exit 0
fi
source $TOP_DIR/buildroot/build/envsetup.sh $RK_CFG_BUILDROOT
make
if [ $? -ne 0 ]; then