blob: b4edac383af4130ca6138c396a3c0baf95b98246 [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
Andrew Geissler1fe918a2020-05-15 14:16:47 -050024LAYERSERIES_COMPAT_integrity = "dunfell"
Brad Bishop26bdd442019-08-16 17:08:17 -040025# ima-evm-utils depends on keyutils from meta-oe
26LAYERDEPENDS_integrity = "core openembedded-layer"
Brad Bishop9a533952019-12-19 16:39:26 -050027
28BBLAYERS_LAYERINDEX_NAME_integrity = "meta-integrity"