Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | # It really depends on order of the layers appearing in BBLAYERS |
| 2 | # variable in toplevel bblayers.conf file, where bitbake will search |
| 3 | # for .inc files and others where bitbake uses BBPATH since it will |
| 4 | # search the directories from first to last as specified in BBPATH |
| 5 | # Therefore if you want a given layer to be considered high priority |
| 6 | # for the .inc and .conf etc. then consider it adding at the beginning |
| 7 | # of BBPATH. For bblayers bitbake will use BBFILES_PRIORITY to resolve |
| 8 | # the recipe contention so the order of directories in BBFILES does |
| 9 | # not matter. |
| 10 | |
| 11 | # We have a conf and classes directory, append to BBPATH |
| 12 | BBPATH .= ":${LAYERDIR}" |
| 13 | |
| 14 | # We have a recipes directory, add to BBFILES |
| 15 | BBFILES += "\ |
| 16 | ${LAYERDIR}/recipes-*/*/*.bb \ |
| 17 | ${LAYERDIR}/oe-core/recipes-*/*/*.bbappend \ |
| 18 | " |
| 19 | |
| 20 | BBFILE_COLLECTIONS += "systemd-layer" |
| 21 | BBFILE_PATTERN_systemd-layer := "^${LAYERDIR}/" |
| 22 | |
| 23 | # Define the priority for recipes (.bb files) from this layer, |
| 24 | # choosing carefully how this layer interacts with all of the |
| 25 | # other layers. |
| 26 | |
| 27 | BBFILE_PRIORITY_systemd-layer = "7" |
| 28 | |
| 29 | SIGGEN_EXCLUDERECIPES_ABISAFE += " \ |
| 30 | systemd-serialgetty \ |
| 31 | " |
| 32 | LAYERDEPENDS_systemd-layer = "core" |