]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf
OvmfPkg/Tcg2ConfigPei: skip TPM-1.2 detection when building for ARM/AARCH64
[mirror_edk2.git] / OvmfPkg / Tcg / Tcg2Config / Tcg2ConfigPei.inf
index aa996b7da7783e909cd17fcc76a42b6dd6052fbb..194ebfba6409352453bfd63d5b8e8ea2a5ff691e 100644 (file)
 \r
 [Sources]\r
   Tcg2ConfigPeim.c\r
-  Tpm12Support.c\r
   Tpm12Support.h\r
 \r
+[Sources.IA32, Sources.X64]\r
+  Tpm12Support.c\r
+\r
+[Sources.ARM, Sources.AARCH64]\r
+  Tpm12SupportNull.c\r
+\r
 [Packages]\r
   MdePkg/MdePkg.dec\r
   MdeModulePkg/MdeModulePkg.dec\r
   BaseLib\r
   DebugLib\r
   PeiServicesLib\r
-  Tpm12DeviceLib\r
   Tpm2DeviceLib\r
 \r
+[LibraryClasses.IA32, LibraryClasses.X64]\r
+  Tpm12DeviceLib\r
+\r
 [Guids]\r
   gEfiTpmDeviceSelectedGuid           ## PRODUCES ## GUID # Used as a PPI GUID\r
   gEfiTpmDeviceInstanceTpm20DtpmGuid  ## SOMETIMES_CONSUMES\r