mirror of
https://git.yoctoproject.org/meta-security
synced 2026-10-15 17:27:01 +00:00
tpm: move to a sub layer
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
1 parent
6eac21cf4a
commit
4585f1e8c9
26 files changed
+18
-3
No files matched your search
Whitespace-only changes.
@@ -0,0 +1,13 @@
|
||||
# We have a conf and classes directory, add to BBPATH
|
||||
BBPATH .= ":${LAYERDIR}"
|
||||
|
||||
# We have a recipes directory, add to BBFILES
|
||||
BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend ${LAYERDIR}/classes/*.bbclass"
|
||||
|
||||
BBFILE_COLLECTIONS += "tpm-layer"
|
||||
BBFILE_PATTERN_tpm-layer = "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_tpm-layer = "6"
|
||||
|
||||
LAYERDEPENDS_tpm-layer = " \
|
||||
core \
|
||||
"
|
||||
@@ -0,0 +1,5 @@
|
||||
#
|
||||
# TPM kernel support
|
||||
|
||||
KERNEL_FEATURES_append += "${@bb.utils.contains('DISTRO_FEATURES', 'tpm', ' features/tpm/tpm.scc', '', d)}"
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,8 +1,5 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-4.10:"
|
||||
|
||||
# TPM kernel support
|
||||
KERNEL_FEATURES_append += "${@bb.utils.contains('DISTRO_FEATURES', 'tpm', ' features/tpm/tpm.scc', '', d)}"
|
||||
|
||||
SRC_URI += "\
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'apparmor', ' file://apparmor.cfg', '', d)} \
|
||||
"
|
||||
|
||||
Reference in new issue
Block a user