diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2012-10-23 15:50:41 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2012-10-23 15:50:41 -0200 |
commit | ec0ac6e5b1682b7a448eb50666cb8330928c9d74 (patch) | |
tree | 66845bd9e63af6660c81be3013e1e95e38932a08 /conf |
Add layer basic structure
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/layer.conf | 24 |
1 files changed, 24 insertions, 0 deletions
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" |