Move CompilerStub library for IA32 & x64 only.
[mirror_edk2.git] / EdkShellPkg / EdkShellPkg.dsc
index 0c90d9ff17368417f141eb4fb0b7bb8555c29e6d..07bcefd821a0f19a2f4b644ebf3db4fe11d0efa1 100644 (file)
@@ -39,7 +39,6 @@ DEFINE EDK_SHELL_DIR             = Shell
   EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib.inf\r
   EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib.inf\r
   EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIA64Lib/CpuIA64Lib.inf\r
-  EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf\r
   EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.inf\r
   EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf\r
   #\r
@@ -74,11 +73,10 @@ DEFINE EDK_SHELL_DIR             = Shell
   #\r
   $(EDK_SHELL_DIR)/Library/EfiShellLib.inf\r
 \r
+[Libraries.IA32, Libraries.X64]\r
+  EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf\r
 \r
 [Components]\r
-  #\r
-  # Shell.inf & ShellFull.inf can not be included at once to avoid over\r
-  #\r
   $(EDK_SHELL_DIR)/Shell.inf\r
   $(EDK_SHELL_DIR)/ShellFull.inf\r
   $(EDK_SHELL_DIR)/attrib/attrib.inf\r