1# 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). 16INTEGRITY_BASE := '${LAYERDIR}' 17 18# We must not export this path to all shell scripts (as in "export 19# INTEGRITY_BASE"), because that causes problems with sstate (becames 20# dependent on location of the layer). Exporting it to just the 21# interactive shell is enough. 22OE_TERMINAL_EXPORTS += "INTEGRITY_BASE" 23 24LAYERSERIES_COMPAT_integrity = "zeus" 25# ima-evm-utils depends on keyutils from meta-oe 26LAYERDEPENDS_integrity = "core openembedded-layer" 27 28BBLAYERS_LAYERINDEX_NAME_integrity = "meta-integrity" 29