2017-12-04 21:33:20 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
if [ -n "$BASH_SOURCE" ]; then
|
|
|
|
THIS_SCRIPT=$BASH_SOURCE
|
|
|
|
elif [ -n "$ZSH_NAME" ]; then
|
|
|
|
THIS_SCRIPT=$0
|
|
|
|
else
|
|
|
|
THIS_SCRIPT="$(pwd)/setup-build-env"
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -z "$ZSH_NAME" ] && [ "$0" = "$THIS_SCRIPT" ]; then
|
|
|
|
echo "Error: This script needs to be sourced. Please run as '. $THIS_SCRIPT'"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2018-03-04 18:25:42 +00:00
|
|
|
TEMPLATECONF=../meta-citadel/conf
|
2017-12-04 21:33:20 +00:00
|
|
|
. poky/oe-init-build-env
|
|
|
|
|