diff options
| author | Armin Kuster <akuster808@gmail.com> | 2021-07-29 16:31:50 -0700 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2021-08-01 08:47:08 -0700 |
| commit | c7632b927c4cb31d77caebe1390da21c630cfe0e (patch) | |
| tree | e9c9c467f1478d812a182375533e2af3b112026e /meta-tpm/recipes-kernel | |
| parent | 11a67b861af74d59ccfd609d6d943e966ccff731 (diff) | |
| download | meta-security-c7632b927c4cb31d77caebe1390da21c630cfe0e.tar.gz | |
meta-tpm: Convert to new override syntax
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-tpm/recipes-kernel')
| -rw-r--r-- | meta-tpm/recipes-kernel/linux/linux-yocto_tpm.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-tpm/recipes-kernel/linux/linux-yocto_tpm.inc b/meta-tpm/recipes-kernel/linux/linux-yocto_tpm.inc index cea8b1b..909c42d 100644 --- a/meta-tpm/recipes-kernel/linux/linux-yocto_tpm.inc +++ b/meta-tpm/recipes-kernel/linux/linux-yocto_tpm.inc | |||
| @@ -1,12 +1,12 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/linux-yocto:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/linux-yocto:" |
| 2 | 2 | ||
| 3 | # Enable tpm in kernel | 3 | # Enable tpm in kernel |
| 4 | SRC_URI_append_x86 = " \ | 4 | SRC_URI:append:x86 = " \ |
| 5 | ${@bb.utils.contains('MACHINE_FEATURES', 'tpm', 'file://tpm.scc', '', d)} \ | 5 | ${@bb.utils.contains('MACHINE_FEATURES', 'tpm', 'file://tpm.scc', '', d)} \ |
| 6 | ${@bb.utils.contains('MACHINE_FEATURES', 'tpm2', 'file://tpm2.scc', '', d)} \ | 6 | ${@bb.utils.contains('MACHINE_FEATURES', 'tpm2', 'file://tpm2.scc', '', d)} \ |
| 7 | " | 7 | " |
| 8 | 8 | ||
| 9 | SRC_URI_append_x86-64 = " \ | 9 | SRC_URI:append:x86-64 = " \ |
| 10 | ${@bb.utils.contains('MACHINE_FEATURES', 'tpm', 'file://tpm.scc', '', d)} \ | 10 | ${@bb.utils.contains('MACHINE_FEATURES', 'tpm', 'file://tpm.scc', '', d)} \ |
| 11 | ${@bb.utils.contains('MACHINE_FEATURES', 'tpm2', 'file://tpm2.scc', '', d)} \ | 11 | ${@bb.utils.contains('MACHINE_FEATURES', 'tpm2', 'file://tpm2.scc', '', d)} \ |
| 12 | " | 12 | " |
