Andrew Geissler | a1a6aef | 2021-06-25 14:23:58 -0500 | [diff] [blame] | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-yocto:" |
| 2 | |
| 3 | # Enable tpm in kernel |
| 4 | SRC_URI_append_x86 = " \ |
| 5 | ${@bb.utils.contains('MACHINE_FEATURES', 'tpm', 'file://tpm.scc', '', d)} \ |
| 6 | ${@bb.utils.contains('MACHINE_FEATURES', 'tpm2', 'file://tpm2.scc', '', d)} \ |
| 7 | " |
| 8 | |
| 9 | SRC_URI_append_x86-64 = " \ |
| 10 | ${@bb.utils.contains('MACHINE_FEATURES', 'tpm', 'file://tpm.scc', '', d)} \ |
| 11 | ${@bb.utils.contains('MACHINE_FEATURES', 'tpm2', 'file://tpm2.scc', '', d)} \ |
| 12 | " |
| 13 | |
| 14 | SRC_URI += " \ |
| 15 | ${@bb.utils.contains('MACHINE_FEATURES', 'tpm_i2c', 'file://tpm_i2c.scc', '', d)} \ |
| 16 | ${@bb.utils.contains('MACHINE_FEATURES', 'vtpm', 'file://vtpm.scc', '', d)} \ |
| 17 | " |