Implement basic yocto build setup based on protos from jhnc-oss

This commit is contained in:
2023-07-12 18:27:59 +02:00
parent 7b3cf1dbea
commit e65e90cba5
13 changed files with 392 additions and 0 deletions

20
dev/init_env.sh Executable file
View File

@@ -0,0 +1,20 @@
#!/usr/bin/env bash
set -o errexit
# Workaround for unsupported local manifest
mkdir _local
cd "${YOCTO_DIR}/_local"
cp "${YOCTO_DIR}/default.xml" .
git init -b master
git add .
git commit -m "local manifest"
cd - > /dev/null
repo --color=always init _local
repo sync --no-clone-bundle
rm -rf "${YOCTO_DIR}/_local"
source poky/oe-init-build-env
exec /bin/bash