blob: 3e8db1f17c05c8e35436579e8684645e16375ba7 [file] [log] [blame]
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +05301# We have a conf and classes directory, add to BBPATH
2BBPATH .= ":${LAYERDIR}"
3
4# We have recipes-* directories, add to BBFILES
5BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
6 ${LAYERDIR}/recipes-*/*/*.bbappend"
7
8BBFILE_COLLECTIONS += "security"
9BBFILE_PATTERN_security = "^${LAYERDIR}/"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080010BBFILE_PRIORITY_security = "8"
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053011
Andrew Geissler2edf0642023-09-11 08:24:07 -040012LAYERSERIES_COMPAT_security = "nanbield"
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053013
Andrew Geisslerd5838332022-05-27 11:33:10 -050014LAYERDEPENDS_security = "core openembedded-layer"
15
16BBFILES_DYNAMIC += " \
17 perl-layer:${LAYERDIR}/dynamic-layers/meta-perl/recipes-*/*/*.bb \
18 perl-layer:${LAYERDIR}/dynamic-layers/meta-perl/recipes-*/*/*.bbappend \
19 meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bb \
20 meta-python:${LAYERDIR}/dynamic-layers/meta-python/recipes-*/*/*.bbappend \
Andrew Geissler615f2f12022-07-15 14:00:58 -050021 networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bb \
22 networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bbappend \
Andrew Geisslerd5838332022-05-27 11:33:10 -050023"
Andrew Geisslerf1e44062021-04-15 15:52:46 -050024
Andrew Geisslera1a6aef2021-06-25 14:23:58 -050025# Sanity check for meta-security layer.
26# Setting SKIP_META_SECURITY_SANITY_CHECK to "1" would skip the bbappend files check.
27INHERIT += "sanity-meta-security"
Andrew Geissler9aee5002022-03-30 16:27:02 +000028
Patrick Williamse760df82023-05-26 11:10:49 -050029addpylib ${LAYERDIR}/lib oeqa
Patrick Williams2a254922023-08-11 09:48:11 -050030
31WARN_QA:append:security = " patch-status missing-metadata"