Improved yocto directory structure

This commit is contained in:
2025-07-02 17:40:59 +02:00
parent 60fd0a02f8
commit f30d31a24f
12 changed files with 988 additions and 99 deletions

13
image/conf/bblayers.conf Normal file
View File

@@ -0,0 +1,13 @@
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
/workspace/yocto/poky/meta \
/workspace/yocto/poky/meta-poky \
/workspace/yocto/poky/meta-yocto-bsp \
/workspace/meta-layers/meta-fcb-looper \
"

13
image/conf/local.conf Normal file
View File

@@ -0,0 +1,13 @@
MACHINE = "genericx86-64"
DISTRO = "poky"
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
IMAGE_INSTALL:append = " openssh"
EXTRA_IMAGE_FEATURES += "ssh-server-openssh"
# Memory optimization settings
BB_NUMBER_THREADS = "2"
PARALLEL_MAKE = "-j 2"
# Limit memory usage for builds
BB_SCHEDULER = "completion"
INHERIT += "rm_work"

View File

@@ -0,0 +1 @@
meta-poky/conf/templates/default