blob: 470c7f675f23ab23803e42df108f738be2d68024 [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 Geissler78b72792022-06-14 06:47:25 -050012LAYERSERIES_COMPAT_security = "kirkstone langdale"
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
29QB_KERNEL_CMDLINE_APPEND = " ${@bb.utils.contains('DISTRO_FEATURES', 'apparmor', 'apparmor=1 security=apparmor', '', d)}"
30