blob: 471674cd8bb9ff1663f5f20d8f2c43225d2db01b [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
Patrick Williams03514f12024-04-05 07:04:11 -050012LAYERSERIES_COMPAT_security = "nanbield scarthgap"
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"