Initial commit

This commit is contained in:
michirod 2021-04-09 14:56:53 +02:00
commit 8909b17f62
3 changed files with 50 additions and 0 deletions

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# meta-m4ss
Yocto Distro layer for M4SS

33
conf/distro/m4ss.conf Normal file
View File

@ -0,0 +1,33 @@
# Use Poky as base
require conf/distro/poky.conf
DISTRO = "m4ss-linux"
DISTRO_VERSION = "1.0"
DISTRO_NAME = "M4SS Embedded Linux"
SDK_VENDOR = "-m4sssdk"
SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
TARGET_VENDOR = "-m4ss"
DISTRO_FEATURES_append = " virtualization"
DISTRO_FEATURES_append = " systemd"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_initscripts = ""
CORE_IMAGE_EXTRA_INSTALL += " \
init-configuration \
network-configuration \
drive-configuration \
wireguard-tools \
docker \
"
#IMAGE_INSTALL_append = " libstdc++"
#TOOLCHAIN_TARGET_TASK += "libc++-dev"
#TOOLCHAIN_HOST_TASK_append = ' nativesdk-ninja'
#
#hostname_pn-base-files = "cubbit-cell.local"
#
#DISTRO_FEATURES_append = " zeroconf"

14
conf/layer.conf Normal file
View File

@ -0,0 +1,14 @@
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have a recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend \
${LAYERDIR}/classes/*.bbclass \
"
BBFILE_COLLECTIONS += "m4ss"
BBFILE_PATTERN_m4ss = "^${LAYERDIR}/"
BBFILE_PRIORITY_m4ss = "7"
LAYERDEPENDS_m4ss = "core yocto intel virtualization-layer mender"