1# We have a conf and classes directory, add to BBPATH
2BBPATH =. "${LAYERDIR}:"
3
4# We have a packages directory, add to BBFILES
5BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
6            ${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).
15INTEGRITY_BASE := '${LAYERDIR}'
16
17# We must not export this path to all shell scripts (as in "export
18# INTEGRITY_BASE"), because that causes problems with sstate (becames
19# dependent on location of the layer). Exporting it to just the
20# interactive shell is enough.
21OE_TERMINAL_EXPORTS += "INTEGRITY_BASE"
22
23LAYERSERIES_COMPAT_integrity = "hardknott"
24# ima-evm-utils depends on keyutils from meta-oe
25LAYERDEPENDS_integrity = "core openembedded-layer"
26
27BBLAYERS_LAYERINDEX_NAME_integrity = "meta-integrity"
28
29BBFILES_DYNAMIC += " \
30networking-layer:${LAYERDIR}/dynamic-layers/meta-networking/recipes-*/*/*.bbappend \
31"
32