Fix warnings generated by GCC.
[edk2.git] / DuetPkg / DuetPkg.dsc
blobda142cecfc056016b2df8eac4faa4da17b607382
2 [Defines]
3   PLATFORM_NAME                  = DuetPkg
4   PLATFORM_GUID                  = 199E24E0-0989-42aa-87F2-611A8C397E72
5   PLATFORM_VERSION               = 0.3
6   DSC_SPECIFICATION              = 0x00010005
7   OUTPUT_DIRECTORY               = Build/DuetPkg
8   SUPPORTED_ARCHITECTURES        = IA32|X64
9   BUILD_TARGETS                  = DEBUG
10   SKUID_IDENTIFIER               = DEFAULT
11   FLASH_DEFINITION               = DuetPkg/DuetPkg.fdf
13 [LibraryClasses.common]
14   BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
15   SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
16   BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
17   PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
18   PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
19   PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
20   UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
21   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
22   UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
23   UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
24   HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
25   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
26   DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
27   UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
28   UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
29   UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
30   ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
31   PlatformBdsLib|DuetPkg/Library/DuetBdsLib/PlatformBds.inf
32   GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
33   PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
34   CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
35   DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
36   PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
37   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
38   CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
39   PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
40   PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
41   OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
42   IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
43   TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf
44   UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
45   HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
46   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
47   
48   #
49   # To save size, use NULL library for DebugLib and ReportStatusCodeLib.
50   # If need status code output, do library instance overriden as below DxeMain.inf does
51   #
52   DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
53   ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
54   
55 [LibraryClasses.common.DXE_CORE]
56   HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
57   DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
58   MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
59   UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
60   ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
62 [PcdsFixedAtBuild]
63   gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0
64   gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
65   gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x0
67 ###################################################################################################
69 # Components Section - list of the modules and components that will be processed by compilation
70 #                      tools and the EDK II tools to generate PE32/PE32+/Coff image files.
72 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
73 #       into firmware volume images. This section is just a list of modules to compile from
74 #       source into UEFI-compliant binaries.
75 #       It is the FDF file that contains information on combining binary files into firmware
76 #       volume images, whose concept is beyond UEFI and is described in PI specification.
77 #       Binary modules do not need to be listed in this section, as they should be
78 #       specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
79 #       Logo (Logo.bmp), and etc.
80 #       There may also be modules listed in this section that are not required in the FDF file,
81 #       When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
82 #       generated for it, but the binary will not be put into any firmware volume.
84 ###################################################################################################
86 [Components.common]
87   DuetPkg/DxeIpl/DxeIpl.inf {
88     <LibraryClasses>
89       #
90       # If no following overriden for ReportStatusCodeLib library class, 
91       # All other module can *not* output debug information even they are use not NULL library
92       # instance for DebugLib and ReportStatusCodeLib
93       #
94       ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
95   }
97   MdeModulePkg/Core/Dxe/DxeMain.inf {
98     #
99     # Enable debug output for DxeCore module, this is a sample for how to enable debug output
100     # for a module. If need turn on debug output for other module, please copy following overriden
101     # PCD and library instance to other module's override section.
102     #
103     <PcdsFixedAtBuild>
104       gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
105       gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
106       gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
107     <LibraryClasses>
108       DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
109       ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf
110       SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
111   }
112   
113   MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
114   MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
115   MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
116   MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
118   DuetPkg/FSVariable/FSVariable.inf
119   MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
120   MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
121   MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
122   MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
123   MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
124     <LibraryClasses>
125       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
126   }
127   MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
128   MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
130   IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
131   MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
132   MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
133   MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
136   DuetPkg/DataHubGenDxe/DataHubGen.inf
137   #DuetPkg/FvbRuntimeService/DUETFwh.inf
138   DuetPkg/EfiLdr/EfiLdr.inf {
139     <LibraryClasses>
140       DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
141       NULL|IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/LzmaCustomDecompressLib.inf
142   }
143   IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
144     <LibraryClasses>
145       PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
146   }
147   UefiCpuPkg/CpuIoDxe/CpuIo.inf
148   DuetPkg/CpuDxe/Cpu.inf
149   PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
150   PcAtChipsetPkg/KbcResetDxe/Reset.inf
151   DuetPkg/LegacyMetronome/Metronome.inf
153   PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcatRealTimeClockRuntimeDxe.inf
154   PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
155   DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
156   DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
157   IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
158   IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
160   # IDE Support
161   IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
162   PcAtChipsetPkg/Bus/Pci/IdeControllerDxe/IdeControllerDxe.inf\r
163   
164   # Usb Support
165   MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf\r
166   MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
167   MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
168   MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
169   MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
171   # ISA Support
172   PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
173   IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
174   IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
175   IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
176   IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
178   MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
179   MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
180   MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
182   # Bios Thunk
183   DuetPkg/BiosVideoThunkDxe/BiosVideo.inf
185   #
186   # Sample Application
187   #
188   MdeModulePkg/Application/HelloWorld/HelloWorld.inf
190 [BuildOptions.common]
191   MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR