Compare commits
1 Commits
10152cb6db
...
19ab0af33a
Author | SHA1 | Date | |
---|---|---|---|
19ab0af33a |
9
buildconf/bbb-init-build-env
Normal file
9
buildconf/bbb-init-build-env
Normal file
@ -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
|
||||
|
16
buildconf/default-init-build-env
Normal file
16
buildconf/default-init-build-env
Normal file
@ -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
|
||||
|
10
buildconf/rpi-init-build-env
Normal file
10
buildconf/rpi-init-build-env
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user