]> git.proxmox.com Git - mirror_edk2.git/blame - DuetPkg/DuetPkg.dsc
1, cleanup DSC file, use NULL library instance for DebugLib and
[mirror_edk2.git] / DuetPkg / DuetPkg.dsc
CommitLineData
3efaa6e0 1
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
12
13[LibraryClasses.common]
14 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
15 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
3efaa6e0 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
3efaa6e0 20 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
21 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
22 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
23 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
24 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
3efaa6e0 25 DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf
3efaa6e0 26 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
27 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
28 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
29 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
30 PlatformBdsLib|DuetPkg/Library/DuetBdsLib/PlatformBds.inf
31 IfrSupportLib|MdeModulePkg/Library/UefiIfrSupportLib/UefiIfrSupportLib.inf
32 ExtendedIfrSupportLib|MdeModulePkg/Library/ExtendedIfrSupportLib/ExtendedIfrSupportLib.inf
33 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
34 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
35 ExtendedHiiLib|MdeModulePkg/Library/ExtendedHiiLib/ExtendedHiiLib.inf
36 CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf
37 DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf
38 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
39 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
40 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
41 PeCoffLib|MdePkg/Library/BasePeCoffLib/BasePeCoffLib.inf
c6811ca1 42 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
3efaa6e0 43 OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
3efaa6e0 44 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
45 TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf
46 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
d6ca2c1e 47 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
48 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
49 \r
50 #\r
51 # To save size, use NULL library for DebugLib and ReportStatusCodeLib.\r
52 # If need status code output, do library instance overriden as below DxeMain.inf does\r
53 #
54 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
55 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf\r
56 \r
3efaa6e0 57[LibraryClasses.common.DXE_CORE]
58 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
3efaa6e0 59 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
60 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
61 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
3efaa6e0 62 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
63
3efaa6e0 64[PcdsFixedAtBuild]
d6ca2c1e 65 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0
66 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
67 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x0
3efaa6e0 68
69###################################################################################################
70#
71# Components Section - list of the modules and components that will be processed by compilation
72# tools and the EDK II tools to generate PE32/PE32+/Coff image files.
73#
74# Note: The EDK II DSC file is not used to specify how compiled binary images get placed
75# into firmware volume images. This section is just a list of modules to compile from
76# source into UEFI-compliant binaries.
77# It is the FDF file that contains information on combining binary files into firmware
78# volume images, whose concept is beyond UEFI and is described in PI specification.
79# Binary modules do not need to be listed in this section, as they should be
80# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
81# Logo (Logo.bmp), and etc.
82# There may also be modules listed in this section that are not required in the FDF file,
83# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
84# generated for it, but the binary will not be put into any firmware volume.
85#
86###################################################################################################
87
88[Components.common]
89 DuetPkg/DxeIpl/DxeIpl.inf {
90 <LibraryClasses>
d6ca2c1e 91 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
92 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
3efaa6e0 93 }
94
d6ca2c1e 95 MdeModulePkg/Core/Dxe/DxeMain.inf {\r
96 <PcdsFixedAtBuild>\r
97 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07\r
98 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
99 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042\r
100 <LibraryClasses>\r
101 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
102 ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf\r
103 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf\r
104 }\r
105 \r
3efaa6e0 106 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
107 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
108 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
109 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
110
111 DuetPkg/FSVariable/FSVariable.inf
112 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
113 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
114 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
3efaa6e0 115 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
116 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
117 <LibraryClasses>
118 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
119 }
120 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
121 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
122
123 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
124 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
125 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
126 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
127
128
129 DuetPkg/DataHubGenDxe/DataHubGen.inf
130 #DuetPkg/FvbRuntimeService/DUETFwh.inf
131 DuetPkg/EfiLdr/EfiLdr.inf {
132 <LibraryClasses>
133 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
134 }
135 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
136 <LibraryClasses>
137 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
138 }
139 UefiCpuPkg/CpuIoDxe/CpuIo.inf
140 DuetPkg/CpuDxe/Cpu.inf
141 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
142 PcAtChipsetPkg/KbcResetDxe/Reset.inf
143 DuetPkg/LegacyMetronome/Metronome.inf
144
145 PcAtChipsetPkg/PcRtc/RealTimeClock.inf
146 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
147 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
148 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
149 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
150 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
151
152 # IDE Support
153 #IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
154
155 # Usb Support
156 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
157 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
158 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
159 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
160
161 # ISA Support
162 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
163 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
164 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
165 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
166 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
167
168 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
169 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
170 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
171
172 # Bios Thunk
173 DuetPkg/BiosVideoThunkDxe/BiosVideo.inf
d6ca2c1e 174\r
175 #\r
176 # Sample Application\r
177 #\r
178 MdeModulePkg/Application/HelloWorld/HelloWorld.inf\r
179
3efaa6e0 180[Components.IA32]
181 DuetPkg/BootSector/BootSector.inf
182
183[BuildOptions.common]
184 MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR
185 MSFT:*_*_IA32_CC_FLAGS = /D EFI32
186 MSFT:*_*_X64_CC_FLAGS = /D EFIX64
187 MSFT:*_*_IPF_CC_FLAGS = /D EFI64
188