Meta-perinet: Initial commit

Signed-off-by: Thomas Klaehn <thomas.klaehn@perinet.io>
This commit is contained in:
Thomas Klaehn
2020-08-21 19:32:22 +02:00
commit 4c534969a0
8 changed files with 203 additions and 0 deletions

42
conf/distro/perinet.conf Normal file
View File

@@ -0,0 +1,42 @@
require conf/distro/poky.conf
# distro name
DISTRO = "perinet"
DISTRO_NAME = "perinet distribution"
DISTRO_VERSION = "1.0"
DISTRO_CODENAME = "perinet"
# Comment out any of the lines below to disable them in the build
# DISTRO_FEATURES options:
# alsa bluetooth ext2 pcmcia usbgadget usbhost wifi nfs zeroconf pci
DISTRO_FEATURES_TINY = "largefile virtualization"
DISTRO_FEATURES_NET = "ipv4 ipv6"
#DISTRO_FEATURES_USB = "usbhost"
#DISTRO_FEATURES_WIFI = "wifi"
DISTRO_FEATURES = " \
${DISTRO_FEATURES_TINY} \
${DISTRO_FEATURES_NET} \
${DISTRO_FEATURES_USB} \
${DISTRO_FEATURES_WIFI} \
"
INIT_MANAGER ?= "mdev-busybox"
#TCLIBC = "musl"
TCLIBC = "glibc"
# Disable wide char support for ncurses as we don't include it in
# in the LIBC features below.
# Leave native enable to avoid build failures
ENABLE_WIDEC = "false"
ENABLE_WIDEC_class-native = "true"
# Drop native language support. This removes the
# eglibc->bash->gettext->libc-posix-clang-wchar dependency.
USE_NLS="no"
SDK_VENDOR = "-perinetdistsdk"
SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
MAINTAINER = "perinetdist "
INHERIT += "buildhistory"
BUILDHISTORY_COMMIT = "1"

15
conf/layer.conf Normal file
View File

@@ -0,0 +1,15 @@
# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have recipes-* directories, add to BBFILES
BBFILES += " \
${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend \
"
BBFILE_COLLECTIONS += "meta-perinet"
BBFILE_PATTERN_meta-perinet = "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-perinet = "11"
LAYERSERIES_COMPAT_meta-perinet = "dunfell zeus warrior thud sumo rocko"