mirror of
https://git.yoctoproject.org/meta-security
synced 2026-04-20 11:29:37 +00:00
linux-stable: fix module selections
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -3,3 +3,6 @@ CONFIG_TCG_TPM=y
|
||||
CONFIG_TCG_TIS_CORE=y
|
||||
CONFIG_TCG_TIS=y
|
||||
CONFIG_SECURITYFS=y
|
||||
CONFIG_TCG_NSC=m
|
||||
CONFIG_TCG_ATMEL=m
|
||||
CONFIG_TCG_INFINEON=m
|
||||
|
||||
6
meta-tpm/recipes-kernel/linux/linux-yocto/tpm2.cfg
Normal file
6
meta-tpm/recipes-kernel/linux/linux-yocto/tpm2.cfg
Normal file
@@ -0,0 +1,6 @@
|
||||
CONFIG_HW_RANDOM_TPM=y
|
||||
CONFIG_TCG_TPM=y
|
||||
CONFIG_TCG_TIS_CORE=y
|
||||
CONFIG_TCG_TIS=y
|
||||
CONFIG_TCG_CRB=y
|
||||
CONFIG_SECURITYFS=y
|
||||
3
meta-tpm/recipes-kernel/linux/linux-yocto/tpm2.scc
Normal file
3
meta-tpm/recipes-kernel/linux/linux-yocto/tpm2.scc
Normal file
@@ -0,0 +1,3 @@
|
||||
define KFEATURE_DESCRIPTION "Enable TPM 2.0"
|
||||
|
||||
kconf hardware tpm2.cfg
|
||||
@@ -3,6 +3,12 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/linux-yocto:"
|
||||
# Enable tpm in kernel
|
||||
SRC_URI_append_x86 = " \
|
||||
${@bb.utils.contains('MACHINE_FEATURES', 'tpm', 'file://tpm.scc', '', d)} \
|
||||
${@bb.utils.contains('MACHINE_FEATURES', 'tpm2', 'file://tpm2.scc', '', d)} \
|
||||
"
|
||||
|
||||
SRC_URI_append_x86-64 = " \
|
||||
${@bb.utils.contains('MACHINE_FEATURES', 'tpm', 'file://tpm.scc', '', d)} \
|
||||
${@bb.utils.contains('MACHINE_FEATURES', 'tpm2', 'file://tpm2.scc', '', d)} \
|
||||
"
|
||||
|
||||
SRC_URI += " \
|
||||
|
||||
Reference in New Issue
Block a user