blob: ba028da7e34f55b622f561eac33bfd39b8290cf4 [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 Geissler9d3cc052021-03-31 13:36:22 -050023LAYERSERIES_COMPAT_integrity = "hardknott"
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
29BBFILES_DYNAMIC += " \
30networking-layer:${LAYERDIR}/dynamic-layers/meta-networking/recipes-*/*/*.bbappend \
31"