diff options
| -rw-r--r-- | .gitignore | 5 | ||||
| -rwxr-xr-x | init-yocto-directories.sh | 13 | ||||
| -rw-r--r-- | kas.yml | 23 | ||||
| -rw-r--r-- | meta-yerba/conf/layer.conf | 12 |
4 files changed, 50 insertions, 3 deletions
@@ -1,4 +1,3 @@ -external build -result -result-man +meta-yerba/conf/site.conf +sources diff --git a/init-yocto-directories.sh b/init-yocto-directories.sh new file mode 100755 index 0000000..92dd6b2 --- /dev/null +++ b/init-yocto-directories.sh @@ -0,0 +1,13 @@ +# Info: this is just a random SH script to create /opt/yocto directories if they don't exist +# This is to make cache directories for yocto builds +# This is not needed for the kas build system, but it is highly recommended to have these directories created for yocto builds + +#!/bin/sh +YOCTO_DIR=/opt/yocto + +for dir in sstate-cache downloads builds tmp; do + mkdir -p "$YOCTO_DIR/$dir" + chown -R "$USER:$USER" "$YOCTO_DIR/$dir" + chmod -R u+rwx "$YOCTO_DIR/$dir" +done +echo "Yocto directories created in $YOCTO_DIR" @@ -0,0 +1,23 @@ +header: + version: 11 + +machine: qemux86-64 +distro: yerba + +repos: + bitbake: + url: https://git.openembedded.org/bitbake + branch: "2.12" + path: sources/bitbake + layers: + .: "disabled" + + openembedded-core: + url: https://git.openembedded.org/openembedded-core + branch: scarthgap + path: sources/openembedded-core + layers: + meta: + + meta-yerba: + path: . diff --git a/meta-yerba/conf/layer.conf b/meta-yerba/conf/layer.conf new file mode 100644 index 0000000..a2abd17 --- /dev/null +++ b/meta-yerba/conf/layer.conf @@ -0,0 +1,12 @@ +BBPATH .= ":${LAYERDIR}" + +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ + ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "meta-yerba" +BBFILE_PATTERN_meta-yerba = "^${LAYERDIR}/" +BBFILE_PRIORITY_meta-yerba = "27" + +LAYERDEPENDS_meta-yerba = "core" +LAYERSERIES_COMPAT_meta-yerba = "scarthgap" + |
