# SPDX-License-Identifier: BSD-2-Clause-Patent\r
##\r
\r
-!if $(TPM_ENABLE) == TRUE\r
+!if $(TPM2_ENABLE) == TRUE\r
+!if $(TPM1_ENABLE) == TRUE\r
NULL|SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf\r
+!endif\r
NULL|SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf\r
!endif\r