# SPDX-License-Identifier: BSD-2-Clause-Patent\r
##\r
\r
-!if $(TPM_ENABLE) == TRUE\r
+!if $(TPM2_ENABLE) == TRUE\r
SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf {\r
<LibraryClasses>\r
Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibRouter/Tpm2DeviceLibRouterDxe.inf\r
NULL|SecurityPkg/Library/HashInstanceLibSha512/HashInstanceLibSha512.inf\r
NULL|SecurityPkg/Library/HashInstanceLibSm3/HashInstanceLibSm3.inf\r
}\r
-!if $(TPM_CONFIG_ENABLE) == TRUE\r
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf\r
-!endif\r
+!if $(TPM1_ENABLE) == TRUE\r
SecurityPkg/Tcg/TcgDxe/TcgDxe.inf {\r
<LibraryClasses>\r
Tpm12DeviceLib|SecurityPkg/Library/Tpm12DeviceLibDTpm/Tpm12DeviceLibDTpm.inf\r
}\r
+!endif\r
SecurityPkg/Tcg/Tcg2PlatformDxe/Tcg2PlatformDxe.inf {\r
<LibraryClasses>\r
TpmPlatformHierarchyLib|SecurityPkg/Library/PeiDxeTpmPlatformHierarchyLib/PeiDxeTpmPlatformHierarchyLib.inf\r