]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg/MdeModulePkg.dsc: ignore standalone MM modules for EBC or XCODE5
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 25 Jan 2019 08:12:05 +0000 (09:12 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 28 Jan 2019 10:24:01 +0000 (11:24 +0100)
The newly added standalone MM versions of the FTW and variable runtime
drivers were included in MdeModulePkg.dsc to get test coverage when
building the package from its own .dsc, but the resulting modules are
non-functional since they incorporate some dummy libraries.

Dandan reports that these modules don't build cleanly when using the
EBC or XCODE5 compilers, so given the above, let's just ignore them
in this case.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Bi Dandan <dandan.bi@intel.com>
MdeModulePkg/MdeModulePkg.dsc

index 93eaf4b404a1c38092089b59f7fb74317896efd0..55eca4d74c0495286baf5c240ad3ad66baee3df9 100644 (file)
   MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.inf\r
   MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf\r
 \r
-  MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteStandaloneMm.inf\r
-  MdeModulePkg/Universal/Variable/RuntimeDxe/VariableStandaloneMm.inf\r
-\r
 [Components.IA32, Components.X64, Components.AARCH64]\r
   MdeModulePkg/Universal/EbcDxe/EbcDxe.inf\r
   MdeModulePkg/Universal/EbcDxe/EbcDebugger.inf\r
       NULL|MdeModulePkg/Library/DxeCrc32GuidedSectionExtractLib/DxeCrc32GuidedSectionExtractLib.inf\r
   }\r
 \r
+!if $(TOOL_CHAIN_TAG) != "XCODE5"\r
+  MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteStandaloneMm.inf\r
+  MdeModulePkg/Universal/Variable/RuntimeDxe/VariableStandaloneMm.inf\r
+!endif\r
+\r
 [Components.IA32, Components.X64, Components.Ebc]\r
   MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf\r
 \r