aboutsummaryrefsgenerated by cgit 1.2.3-korg (git 2.39.0) at 2024-06-12 16:20:12 +0000 an class="o">= "$THIS_SCRIPT" ]; then echo "Error: This script needs to be sourced. Please run as '. $THIS_SCRIPT'" exit 1 fi if [ -z "$OEROOT" ]; then OEROOT=$(dirname "$THIS_SCRIPT") OEROOT=$(readlink -f "$OEROOT") fi unset THIS_SCRIPT export OEROOT . $OEROOT/scripts/oe-buildenv-internal && TEMPLATECONF="$TEMPLATECONF" $OEROOT/scripts/oe-setup-builddir || { unset OEROOT return 1 } unset OEROOT [ -z "$BUILDDIR" ] || cd "$BUILDDIR" # Shutdown any bitbake server if the BBSERVER variable is not set if [ -z "$BBSERVER" ] && [ -f bitbake.lock ]; then grep ":" bitbake.lock > /dev/null && BBSERVER=$(cat bitbake.lock) bitbake --status-only if [ $? = 0 ]; then echo "Shutting down bitbake memory resident server with bitbake -m" BBSERVER=$(cat bitbake.lock) bitbake -m fi fi