mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 17:59:59 +00:00
05dc31e546
Idea taken from meta-virt Add a new class, sanity-meta-gnome.bbclass, to check for whether necessary settings are available for bbappend files in this layer to be effective, and warn users if not. In addition, a variable SKIP_SANITY_BBAPPEND_CHECK is added to enable users to explicitly skip the checking to avoid unwanted warnings. Signed-off-by: Armin Kuster <akuster808@gmail.com>
20 lines
692 B
Plaintext
20 lines
692 B
Plaintext
# We have a conf and classes directory, append to BBPATH
|
|
BBPATH .= ":${LAYERDIR}"
|
|
|
|
# We have a recipes directory, add to BBFILES
|
|
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
|
|
|
|
BBFILE_COLLECTIONS += "gnome-layer"
|
|
BBFILE_PATTERN_gnome-layer := "^${LAYERDIR}/"
|
|
BBFILE_PRIORITY_gnome-layer = "7"
|
|
|
|
# This should only be incremented on significant changes that will
|
|
# cause compatibility issues with other layers
|
|
LAYERVERSION_gnome-layer = "1"
|
|
|
|
LAYERDEPENDS_gnome-layer = "core openembedded-layer networking-layer"
|
|
|
|
# Sanity check for meta-gnome layer.
|
|
# Setting SKIP_META_GNOME_SANITY_CHECK to "1" would skip the bbappend files check.
|
|
INHERIT += "sanity-meta-gnome"
|