meta-blackfinn/buildconf/default-init-build-env
Thomas Klaehn bf0c95b5c6 buildconf: Add init environment script for bbb and rpi
Signed-off-by: Thomas Klaehn <tkl@blackfinn.de>
2019-03-02 08:09:56 +01:00

19 lines
288 B
Plaintext

OPTIND=1
shift $((OPTIND-1))
for NOPTARG in $*; do
BUILD_DIR="$NOPTARG"
done
export TEMPLATECONF="../meta-rpi/buildconf"
export MACHINE=$OPT_M
rm -f build/conf/bblayers.conf \
build/conf/templateconf.cfg
mkdir -p $BUILD_DIR
source ../../poky/oe-init-build-env $BUILD_DIR
return 0