blob: 41989da38f63f9bd94176c6f1e8bc513975a7c11 [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
5BBFILES := "${BBFILES} \
6 ${LAYERDIR}/recipes-*/*/*.bb \
7 ${LAYERDIR}/recipes-*/*/*.bbappend"
8
9BBFILE_COLLECTIONS += "integrity"
10BBFILE_PATTERN_integrity := "^${LAYERDIR}/"
11BBFILE_PRIORITY_integrity = "6"
12
13# Set a variable to get to the top of the metadata location. Needed
14# for finding scripts (when following the README.md instructions) and
15# default debug keys (in ima-evm-rootfs.bbclass).
Brad Bishop26bdd442019-08-16 17:08:17 -040016INTEGRITY_BASE := '${LAYERDIR}'
Brad Bishop15ae2502019-06-18 21:44:24 -040017
18# We must not export this path to all shell scripts (as in "export
Brad Bishop26bdd442019-08-16 17:08:17 -040019# INTEGRITY_BASE"), because that causes problems with sstate (becames
Brad Bishop15ae2502019-06-18 21:44:24 -040020# dependent on location of the layer). Exporting it to just the
21# interactive shell is enough.
Brad Bishop26bdd442019-08-16 17:08:17 -040022OE_TERMINAL_EXPORTS += "INTEGRITY_BASE"
Brad Bishop15ae2502019-06-18 21:44:24 -040023
24LAYERSERIES_COMPAT_integrity = "warrior"
Brad Bishop26bdd442019-08-16 17:08:17 -040025# ima-evm-utils depends on keyutils from meta-oe
26LAYERDEPENDS_integrity = "core openembedded-layer"