From ec0ac6e5b1682b7a448eb50666cb8330928c9d74 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Tue, 23 Oct 2012 15:50:41 -0200 Subject: Add layer basic structure Signed-off-by: Otavio Salvador --- conf/layer.conf | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 conf/layer.conf (limited to 'conf') diff --git a/conf/layer.conf b/conf/layer.conf new file mode 100644 index 00000000..7730dc27 --- /dev/null +++ b/conf/layer.conf @@ -0,0 +1,24 @@ +# It really depends on order of the layers appearing in BBLAYERS +# variable in toplevel bblayers.conf file, where bitbake will search +# for .inc files and others where bitbake uses BBPATH since it will +# search the directories from first to last as specified in BBPATH +# Therefore if you want a given layer to be considered high priority +# for the .inc and .conf etc. then consider it adding at the beginning +# of BBPATH. For bblayers bitbake will use BBFILES_PRIORITY to resolve +# the recipe contention so the order of directories in BBFILES does +# not matter. + +# 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 += "qt5-layer" +BBFILE_PATTERN_qt5-layer := "^${LAYERDIR}/" + +# Define the priority for recipes (.bb files) from this layer, +# choosing carefully how this layer interacts with all of the +# other layers. + +BBFILE_PRIORITY_systemd-layer = "7" -- cgit v1.2.3-54-g00ecf