blob: 1d06dcfc03e755cfe6b6bb7f0fb4b3166c7496f8 [file] [log] [blame]
#!/bin/bash
if [ -n "${BASH_SOURCE[0]}" ]; then
OBMCROOT="$(dirname "${BASH_SOURCE[0]}")"
elif [ -n "$ZSH_NAME" ]; then
OBMCROOT="$(dirname "$0")"
else
OBMCROOT="$(pwd)"
fi
if [ -f "$OBMCROOT/customrc" ]; then
echo "### Sourcing customrc ###"
# shellcheck source=/dev/null
. "$OBMCROOT/customrc"
fi
echo "### Initializing OE build env ###"
# shellcheck source=oe-init-build-env
. "$OBMCROOT/oe-init-build-env"