blob: cea8b1b2a0e45840a55a67dbae24edf1c534a785 [file] [log] [blame]
Andrew Geisslera1a6aef2021-06-25 14:23:58 -05001FILESEXTRAPATHS_prepend := "${THISDIR}/linux-yocto:"
2
3# Enable tpm in kernel
4SRC_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
9SRC_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
14SRC_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 "