meta-bbb: initial commit
Signed-off-by: Thomas Klaehn <tkl@blackfinn.de>
This commit is contained in:
21
buildconf/bbb-init-build-env
Normal file
21
buildconf/bbb-init-build-env
Normal file
@@ -0,0 +1,21 @@
|
||||
# Defaults
|
||||
OPT_M=beaglebone
|
||||
BUILD_DIR=build
|
||||
|
||||
#
|
||||
# MAIN
|
||||
#
|
||||
OPTIND=1
|
||||
shift $((OPTIND-1))
|
||||
for NOPTARG in $*; do
|
||||
BUILD_DIR="$NOPTARG"
|
||||
done
|
||||
|
||||
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
|
||||
return 0
|
||||
|
Reference in New Issue
Block a user