diff --git a/buildconf/bbb-init-build-env b/buildconf/bbb-init-build-env new file mode 100644 index 0000000..0d9daa1 --- /dev/null +++ b/buildconf/bbb-init-build-env @@ -0,0 +1,9 @@ +OPT_M=beaglebone-yocto +BUILD_DIR=build + +export TEMPLATECONF="../meta-bbb/buildconf" + +source layers/meta-blackfinn/buildconf/default-init-build-env $BUILD_DIR + +return 0 + diff --git a/buildconf/default-init-build-env b/buildconf/default-init-build-env new file mode 100644 index 0000000..10f694e --- /dev/null +++ b/buildconf/default-init-build-env @@ -0,0 +1,16 @@ +OPTIND=1 +shift $((OPTIND-1)) +for NOPTARG in $*; do + BUILD_DIR="$NOPTARG" +done + +export MACHINE=$OPT_M +rm -f build/conf/bblayers.conf \ + build/conf/templateconf.cfg + +mkdir -p $BUILD_DIR + +source layers/poky/oe-init-build-env $BUILD_DIR + +return 0 + diff --git a/buildconf/rpi-init-build-env b/buildconf/rpi-init-build-env new file mode 100644 index 0000000..3a8ea2c --- /dev/null +++ b/buildconf/rpi-init-build-env @@ -0,0 +1,10 @@ +# Defaults +OPT_M=raspberrypi3-64 +BUILD_DIR=build + +export TEMPLATECONF="../meta-rpi/buildconf" + +source layers/meta-blackfinn/buildconf/default-init-build-env $BUILD_DIR + +return 0 +