meta-blackfinn/buildconf/default-init-build-env

19 lines
288 B
Plaintext
Raw Normal View History

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