Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 1 | # We have a conf and classes directory, add to BBPATH |
| 2 | BBPATH .= ":${LAYERDIR}" |
| 3 | |
| 4 | # We have recipes-* directories, add to BBFILES |
| 5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ |
| 6 | ${LAYERDIR}/recipes-*/*/*.bbappend" |
| 7 | |
| 8 | BBFILE_COLLECTIONS += "security" |
| 9 | BBFILE_PATTERN_security = "^${LAYERDIR}/" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 10 | BBFILE_PRIORITY_security = "8" |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 11 | |
Andrew Geissler | ea144b0 | 2023-01-27 16:03:57 -0600 | [diff] [blame] | 12 | LAYERSERIES_COMPAT_security = "mickledore" |
Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 13 | |
Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 14 | LAYERDEPENDS_security = "core openembedded-layer" |
| 15 | |
| 16 | BBFILES_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 Geissler | 615f2f1 | 2022-07-15 14:00:58 -0500 | [diff] [blame] | 21 | networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bb \ |
| 22 | networking-layer:${LAYERDIR}/dynamic-layers/networking-layer/recipes-*/*/*.bbappend \ |
Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 23 | " |
Andrew Geissler | f1e4406 | 2021-04-15 15:52:46 -0500 | [diff] [blame] | 24 | |
Andrew Geissler | a1a6aef | 2021-06-25 14:23:58 -0500 | [diff] [blame] | 25 | # Sanity check for meta-security layer. |
| 26 | # Setting SKIP_META_SECURITY_SANITY_CHECK to "1" would skip the bbappend files check. |
| 27 | INHERIT += "sanity-meta-security" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 28 | |
| 29 | QB_KERNEL_CMDLINE_APPEND = " ${@bb.utils.contains('DISTRO_FEATURES', 'apparmor', 'apparmor=1 security=apparmor', '', d)}" |
| 30 | |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame^] | 31 | addpylib ${LAYERDIR}/lib oeqa |