mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-12 03:10:13 +00:00
linux-yocto-4.8: add tpm fragments
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
9
recipes-kernel/linux/linux-yocto-4.8/tpm.cfg
Normal file
9
recipes-kernel/linux/linux-yocto-4.8/tpm.cfg
Normal file
@@ -0,0 +1,9 @@
|
||||
CONFIG_HW_RANDOM_TPM=y
|
||||
CONFIG_TCG_TPM=y
|
||||
CONFIG_TCG_TIS_CORE=y
|
||||
CONFIG_TCG_TIS=y
|
||||
CONFIG_TCG_CRB=y
|
||||
CONFIG_TCG_VTPM_PROXY=y
|
||||
CONFIG_DEVPORT=y
|
||||
CONFIG_FUSE_FS=y
|
||||
CONFIG_CUSE=y
|
||||
4
recipes-kernel/linux/linux-yocto-4.8/tpm.scc
Normal file
4
recipes-kernel/linux/linux-yocto-4.8/tpm.scc
Normal file
@@ -0,0 +1,4 @@
|
||||
define KFEATURE_DESCRIPTION "TPM Kernel Support"
|
||||
define KFEATURE_COMPATIBILITY arch
|
||||
|
||||
kconf non-hardware tpm.cfg
|
||||
7
recipes-kernel/linux/linux-yocto_4.8.bbappend
Normal file
7
recipes-kernel/linux/linux-yocto_4.8.bbappend
Normal file
@@ -0,0 +1,7 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.8:"
|
||||
|
||||
# TPM kernel support
|
||||
SRC_URI += "\
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'tpm', ' file://tpm.cfg', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'tpm', ' file://tpm.scc', '', d)} \
|
||||
"
|
||||
Reference in New Issue
Block a user