beaglebone: Reorder folder structure

Signed-off-by: Thomas Klaehn <thomas.klaehn@u-blox.com>
This commit is contained in:
Thomas Klaehn
2018-01-14 09:57:37 +01:00
committed by Thomas Klaehn
parent 9dfd5da5aa
commit 7a88af7d0c
6 changed files with 37 additions and 12 deletions

View File

@@ -11,11 +11,23 @@ for NOPTARG in $*; do
BUILD_DIR="$NOPTARG"
done
export TEMPLATECONF="meta-bbb/buildconf"
export TEMPLATECONF="../meta-bbb/buildconf"
export MACHINE=$OPT_M
rm -f build/conf/bblayers.conf \
build/conf/templateconf.cfg
source poky/oe-init-build-env $BUILD_DIR
mkdir -p $BUILD_DIR
if [ ! -h $BUILD_DIR/sync_ipk_up.sh ]; then
ln -s ../layers/meta-bbb/tools/scripts/sync_ipk_up.sh $BUILD_DIR/sync_ipk_up.sh
fi
if [ ! -h $BUILD_DIR/sync_src_up.sh ]; then
ln -s ../layers/meta-bbb/tools/scripts/sync_src_up.sh $BUILD_DIR/sync_src_up.sh
fi
source layers/poky/oe-init-build-env $BUILD_DIR
return 0