public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch][edk2-platforms/devel-IntelAtomProcessorE3900] Gcc Build Fix
@ 2018-07-25  8:11 zwei4
  0 siblings, 0 replies; only message in thread
From: zwei4 @ 2018-07-25  8:11 UTC (permalink / raw)
  To: edk2-devel; +Cc: xianhuix, xianhuix

From: xianhuix <xianhuix@intel.com>

Reduce fv size for gcc debug build

Contributed-under: TianoCore Contribution Agreement 1.1

Signed-off-by: xianhuix <xianhuix.liu@intel.com>
---
 .../BroxtonPlatformPkg/PlatformDsc/Components.dsc  | 30 +++++++++++++++++-----
 1 file changed, 24 insertions(+), 6 deletions(-)

diff --git a/Platform/BroxtonPlatformPkg/PlatformDsc/Components.dsc b/Platform/BroxtonPlatformPkg/PlatformDsc/Components.dsc
index 15b75be4a5..8f5d833668 100644
--- a/Platform/BroxtonPlatformPkg/PlatformDsc/Components.dsc
+++ b/Platform/BroxtonPlatformPkg/PlatformDsc/Components.dsc
@@ -501,12 +501,30 @@
 #  MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
 #  MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
 
-  MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
-  MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
-  MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
-  MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
-  MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf
-  MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
+  MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf  {
+   <LibraryClasses>
+      DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf 
+  }
+  MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf  {
+   <LibraryClasses>
+      DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf 
+  }
+  MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf  {
+   <LibraryClasses>
+      DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf 
+  }
+  MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf  {
+   <LibraryClasses>
+      DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf 
+  }
+  MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf  {
+   <LibraryClasses>
+      DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf 
+  }
+  MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf  {
+   <LibraryClasses>
+      DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf 
+  }
   MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf {
     <BuildOptions>
     !if $(SIMICS_ENABLE) == TRUE
-- 
2.14.1.windows.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-25  8:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-25  8:11 [Patch][edk2-platforms/devel-IntelAtomProcessorE3900] Gcc Build Fix zwei4

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox