blob: 7d57f9c850e1fb2efc9b72d41f2011793e4845b1 [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
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 \
21"
Andrew Geisslerf1e44062021-04-15 15:52:46 -050022
Andrew Geisslera1a6aef2021-06-25 14:23:58 -050023# Sanity check for meta-security layer.
24# Setting SKIP_META_SECURITY_SANITY_CHECK to "1" would skip the bbappend files check.
25INHERIT += "sanity-meta-security"
Andrew Geissler9aee5002022-03-30 16:27:02 +000026
27QB_KERNEL_CMDLINE_APPEND = " ${@bb.utils.contains('DISTRO_FEATURES', 'apparmor', 'apparmor=1 security=apparmor', '', d)}"
28