blob: 237306dc65b4221569d18d66673457a396e509eb [file] [log] [blame]
Brad Bishop15ae2502019-06-18 21:44:24 -04001# We have a conf and classes directory, add to BBPATH
2BBPATH =. "${LAYERDIR}:"
3
4# We have a packages directory, add to BBFILES
Andrew Geissler157744b2020-10-30 15:42:05 -05005BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
Brad Bishop15ae2502019-06-18 21:44:24 -04006 ${LAYERDIR}/recipes-*/*/*.bbappend"
7
8BBFILE_COLLECTIONS += "integrity"
9BBFILE_PATTERN_integrity := "^${LAYERDIR}/"
10BBFILE_PRIORITY_integrity = "6"
11
12# Set a variable to get to the top of the metadata location. Needed
13# for finding scripts (when following the README.md instructions) and
14# default debug keys (in ima-evm-rootfs.bbclass).
Brad Bishop26bdd442019-08-16 17:08:17 -040015INTEGRITY_BASE := '${LAYERDIR}'
Brad Bishop15ae2502019-06-18 21:44:24 -040016
17# We must not export this path to all shell scripts (as in "export
Brad Bishop26bdd442019-08-16 17:08:17 -040018# INTEGRITY_BASE"), because that causes problems with sstate (becames
Brad Bishop15ae2502019-06-18 21:44:24 -040019# dependent on location of the layer). Exporting it to just the
20# interactive shell is enough.
Brad Bishop26bdd442019-08-16 17:08:17 -040021OE_TERMINAL_EXPORTS += "INTEGRITY_BASE"
Brad Bishop15ae2502019-06-18 21:44:24 -040022
Andrew Geisslera93aa3e2023-01-13 09:41:33 -060023LAYERSERIES_COMPAT_integrity = "langdale mickledore"
Brad Bishop26bdd442019-08-16 17:08:17 -040024# ima-evm-utils depends on keyutils from meta-oe
25LAYERDEPENDS_integrity = "core openembedded-layer"
Brad Bishop9a533952019-12-19 16:39:26 -050026
27BBLAYERS_LAYERINDEX_NAME_integrity = "meta-integrity"
Andrew Geissler5bea8d82020-07-24 16:10:05 -050028
Andrew Geisslera1a6aef2021-06-25 14:23:58 -050029# Sanity check for meta-integrity layer.
30# Setting SKIP_META_INTEGRITY_SANITY_CHECK to "1" would skip the bbappend files check.
31INHERIT += "sanity-meta-integrity"
32
Andrew Geissler5bea8d82020-07-24 16:10:05 -050033BBFILES_DYNAMIC += " \
34networking-layer:${LAYERDIR}/dynamic-layers/meta-networking/recipes-*/*/*.bbappend \
35"