Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 1 | # We have a conf and classes directory, add to BBPATH |
| 2 | BBPATH =. "${LAYERDIR}:" |
| 3 | |
| 4 | # We have a packages directory, add to BBFILES |
| 5 | BBFILES := "${BBFILES} \ |
| 6 | ${LAYERDIR}/recipes-*/*/*.bb \ |
| 7 | ${LAYERDIR}/recipes-*/*/*.bbappend" |
| 8 | |
| 9 | BBFILE_COLLECTIONS += "integrity" |
| 10 | BBFILE_PATTERN_integrity := "^${LAYERDIR}/" |
| 11 | BBFILE_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 Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 16 | INTEGRITY_BASE := '${LAYERDIR}' |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 17 | |
| 18 | # We must not export this path to all shell scripts (as in "export |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 19 | # INTEGRITY_BASE"), because that causes problems with sstate (becames |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 20 | # dependent on location of the layer). Exporting it to just the |
| 21 | # interactive shell is enough. |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 22 | OE_TERMINAL_EXPORTS += "INTEGRITY_BASE" |
Brad Bishop | 15ae250 | 2019-06-18 21:44:24 -0400 | [diff] [blame] | 23 | |
Brad Bishop | a2c571d | 2019-10-14 11:16:09 -0400 | [diff] [blame] | 24 | LAYERSERIES_COMPAT_integrity = "zeus" |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 25 | # ima-evm-utils depends on keyutils from meta-oe |
| 26 | LAYERDEPENDS_integrity = "core openembedded-layer" |
Brad Bishop | 9a53395 | 2019-12-19 16:39:26 -0500 | [diff] [blame] | 27 | |
| 28 | BBLAYERS_LAYERINDEX_NAME_integrity = "meta-integrity" |