summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Include
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2023-05-05 19:06:24 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-05-06 03:53:27 +0000
commiteabaeb0613c0b459db950ab655f99ada9389d0cf (patch)
tree922fe628f52131afebfd8e1e42987a580736e522 /OvmfPkg/Include
parent8bca1bb977f1435961d0580590326f5b4deac1fd (diff)
downloadedk2-eabaeb0613c0b459db950ab655f99ada9389d0cf.tar.gz
edk2-eabaeb0613c0b459db950ab655f99ada9389d0cf.tar.bz2
edk2-eabaeb0613c0b459db950ab655f99ada9389d0cf.zip
OvmfPkg: move OvmfTpmDxe.fdf.inc to Include/Fdf
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'OvmfPkg/Include')
-rw-r--r--OvmfPkg/Include/Fdf/OvmfTpmDxe.fdf.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/OvmfPkg/Include/Fdf/OvmfTpmDxe.fdf.inc b/OvmfPkg/Include/Fdf/OvmfTpmDxe.fdf.inc
new file mode 100644
index 0000000000..7fc2bf8590
--- /dev/null
+++ b/OvmfPkg/Include/Fdf/OvmfTpmDxe.fdf.inc
@@ -0,0 +1,12 @@
+##
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+##
+
+!if $(TPM2_ENABLE) == TRUE
+!if $(TPM1_ENABLE) == TRUE
+INF SecurityPkg/Tcg/TcgDxe/TcgDxe.inf
+!endif
+INF SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
+INF SecurityPkg/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf
+INF SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf
+!endif