[edk2,v2,14/17] MdeModulePkg/MdeModulePkg/dsc: move DxeDebugSupportDxe to x86 only section

Message ID 20190114132758.24054-15-ard.biesheuvel@linaro.org
State New
Headers show
Series
  • implement standalone MM versions of the variable runtime drivers
Related show

Commit Message

Ard Biesheuvel Jan. 14, 2019, 1:27 p.m.
MdeModulePkg/Universal/DebugSupportDxe/DebugSupportDxe.inf does not
build for AARCH64 since it does not provide the needed PlDebugSupport.h
header. So move the module to a x86 only section.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>

---
 MdeModulePkg/MdeModulePkg.dsc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.20.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Comments

Zeng, Star Jan. 16, 2019, 5:27 a.m. | #1
On 2019/1/14 21:27, Ard Biesheuvel wrote:
> MdeModulePkg/Universal/DebugSupportDxe/DebugSupportDxe.inf does not

> build for AARCH64 since it does not provide the needed PlDebugSupport.h

> header. So move the module to a x86 only section.

> 

> Contributed-under: TianoCore Contribution Agreement 1.1

> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>


Reviewed-by: Star Zeng <star.zeng@intel.com>


> ---

>   MdeModulePkg/MdeModulePkg.dsc | 2 +-

>   1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc

> index 967fe082aaae..3e9a9daf1649 100644

> --- a/MdeModulePkg/MdeModulePkg.dsc

> +++ b/MdeModulePkg/MdeModulePkg.dsc

> @@ -421,7 +421,6 @@ [Components]

>     MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf

>   

>   [Components.IA32, Components.X64, Components.AARCH64]

> -  MdeModulePkg/Universal/DebugSupportDxe/DebugSupportDxe.inf

>     MdeModulePkg/Universal/EbcDxe/EbcDxe.inf

>     MdeModulePkg/Universal/EbcDxe/EbcDebugger.inf

>     MdeModulePkg/Universal/EbcDxe/EbcDebuggerConfig.inf

> @@ -438,6 +437,7 @@ [Components.IA32, Components.X64, Components.Ebc]

>     MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf

>   

>   [Components.IA32, Components.X64]

> +  MdeModulePkg/Universal/DebugSupportDxe/DebugSupportDxe.inf

>     MdeModulePkg/Application/SmiHandlerProfileInfo/SmiHandlerProfileInfo.inf

>     MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf

>     MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf

> 


_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Patch

diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc
index 967fe082aaae..3e9a9daf1649 100644
--- a/MdeModulePkg/MdeModulePkg.dsc
+++ b/MdeModulePkg/MdeModulePkg.dsc
@@ -421,7 +421,6 @@  [Components]
   MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf
 
 [Components.IA32, Components.X64, Components.AARCH64]
-  MdeModulePkg/Universal/DebugSupportDxe/DebugSupportDxe.inf
   MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
   MdeModulePkg/Universal/EbcDxe/EbcDebugger.inf
   MdeModulePkg/Universal/EbcDxe/EbcDebuggerConfig.inf
@@ -438,6 +437,7 @@  [Components.IA32, Components.X64, Components.Ebc]
   MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariableRuntimeDxe.inf
 
 [Components.IA32, Components.X64]
+  MdeModulePkg/Universal/DebugSupportDxe/DebugSupportDxe.inf
   MdeModulePkg/Application/SmiHandlerProfileInfo/SmiHandlerProfileInfo.inf
   MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
   MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf