# SPDX-License-Identifier: BSD-2-Clause-Patent\r
##\r
\r
-!if $(TPM_ENABLE) == TRUE\r
+!if $(TPM2_ENABLE) == TRUE\r
OvmfPkg/Tcg/TpmMmioSevDecryptPei/TpmMmioSevDecryptPei.inf\r
+!if $(TPM1_ENABLE) == TRUE\r
OvmfPkg/Tcg/Tcg2Config/Tcg12ConfigPei.inf\r
SecurityPkg/Tcg/TcgPei/TcgPei.inf\r
+!else\r
+ OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf\r
+!endif\r
SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf {\r
<LibraryClasses>\r
HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf\r