blob: 21f03d1ef2805fdfd6b07fb2ca215f153f0ce3d8 [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 Geissler7e0e3c02022-02-25 20:34:39 +000012LAYERSERIES_COMPAT_security = "kirkstone"
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053013
14LAYERDEPENDS_security = "core openembedded-layer perl-layer networking-layer meta-python"
Andrew Geisslerf1e44062021-04-15 15:52:46 -050015
Andrew Geisslera1a6aef2021-06-25 14:23:58 -050016# Sanity check for meta-security layer.
17# Setting SKIP_META_SECURITY_SANITY_CHECK to "1" would skip the bbappend files check.
18INHERIT += "sanity-meta-security"
Andrew Geissler9aee5002022-03-30 16:27:02 +000019
20QB_KERNEL_CMDLINE_APPEND = " ${@bb.utils.contains('DISTRO_FEATURES', 'apparmor', 'apparmor=1 security=apparmor', '', d)}"
21