]> git.proxmox.com Git - mirror_edk2.git/blob - DuetPkg/DuetPkg.dsc
add return if no valid architecture
[mirror_edk2.git] / DuetPkg / DuetPkg.dsc
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
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 IfrSupportLib|MdeModulePkg/Library/UefiIfrSupportLib/UefiIfrSupportLib.inf
33 ExtendedIfrSupportLib|MdeModulePkg/Library/ExtendedIfrSupportLib/ExtendedIfrSupportLib.inf
34 GenericBdsLib|IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf
35 PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.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
42 PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
43 OemHookStatusCodeLib|IntelFrameworkModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf
44 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
45 TimerLib|DuetPkg/Library/DuetTimerLib/DuetTimerLib.inf
46 UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
47 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
48 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
49
50 #
51 # To save size, use NULL library for DebugLib and ReportStatusCodeLib.
52 # If need status code output, do library instance overriden as below DxeMain.inf does
53 #
54 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
55 ReportStatusCodeLib|MdePkg/Library/BaseReportStatusCodeLibNull/BaseReportStatusCodeLibNull.inf
56
57 [LibraryClasses.common.DXE_CORE]
58 HobLib|MdePkg/Library/DxeCoreHobLib/DxeCoreHobLib.inf
59 DxeCoreEntryPoint|MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.inf
60 MemoryAllocationLib|MdeModulePkg/Library/DxeCoreMemoryAllocationLib/DxeCoreMemoryAllocationLib.inf
61 UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
62 ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf
63
64 [PcdsFixedAtBuild]
65 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x0
66 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0
67 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x0
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>
91 #
92 # If no following overriden for ReportStatusCodeLib library class,
93 # All other module can *not* output debug information even they are use not NULL library
94 # instance for DebugLib and ReportStatusCodeLib
95 #
96 ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf
97 }
98
99 MdeModulePkg/Core/Dxe/DxeMain.inf {
100 #
101 # Enable debug output for DxeCore module, this is a sample for how to enable debug output
102 # for a module. If need turn on debug output for other module, please copy following overriden
103 # PCD and library instance to other module's override section.
104 #
105 <PcdsFixedAtBuild>
106 gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
107 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
108 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000042
109 <LibraryClasses>
110 DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
111 ReportStatusCodeLib|DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/DxeCoreReportStatusCodeLibFromHob.inf
112 SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf
113 }
114
115 MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
116 MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
117 MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
118 MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
119
120 DuetPkg/FSVariable/FSVariable.inf
121 MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
122 MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTestDxe.inf
123 MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
124 MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
125 MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf {
126 <LibraryClasses>
127 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
128 }
129 MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
130 MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
131
132 IntelFrameworkModulePkg/Universal/DataHubDxe/DataHubDxe.inf
133 MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
134 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
135 MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
136
137
138 DuetPkg/DataHubGenDxe/DataHubGen.inf
139 #DuetPkg/FvbRuntimeService/DUETFwh.inf
140 DuetPkg/EfiLdr/EfiLdr.inf {
141 <LibraryClasses>
142 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
143 }
144 IntelFrameworkModulePkg/Universal/BdsDxe/BdsDxe.inf {
145 <LibraryClasses>
146 PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
147 }
148 UefiCpuPkg/CpuIoDxe/CpuIo.inf
149 DuetPkg/CpuDxe/Cpu.inf
150 PcAtChipsetPkg/8259InterruptControllerDxe/8259.inf
151 PcAtChipsetPkg/KbcResetDxe/Reset.inf
152 DuetPkg/LegacyMetronome/Metronome.inf
153
154 PcAtChipsetPkg/PcRtc/RealTimeClock.inf
155 PcAtChipsetPkg/8254TimerDxe/8254Timer.inf
156 DuetPkg/PciRootBridgeNoEnumerationDxe/PciRootBridgeNoEnumeration.inf
157 DuetPkg/PciBusNoEnumerationDxe/PciBusNoEnumeration.inf
158 IntelFrameworkModulePkg/Bus/Pci/VgaMiniPortDxe/VgaMiniPortDxe.inf
159 IntelFrameworkModulePkg/Universal/Console/VgaClassDxe/VgaClassDxe.inf
160
161 # IDE Support
162 #IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/IdeBusDxe.inf
163
164 # Usb Support
165 MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
166 MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
167 MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
168 MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassStorageDxe.inf
169
170 # ISA Support
171 PcAtChipsetPkg/IsaAcpiDxe/IsaAcpi.inf
172 IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaBusDxe.inf
173 IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/IsaSerialDxe.inf
174 IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2keyboardDxe.inf
175 IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/IsaFloppyDxe.inf
176
177 MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
178 MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
179 MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
180
181 # Bios Thunk
182 DuetPkg/BiosVideoThunkDxe/BiosVideo.inf
183
184 #
185 # Sample Application
186 #
187 MdeModulePkg/Application/HelloWorld/HelloWorld.inf
188
189 [Components.IA32]
190 DuetPkg/BootSector/BootSector.inf
191
192 [BuildOptions.common]
193 MSFT:*_*_*_CC_FLAGS = /FAsc /FR$(@R).SBR
194 MSFT:*_*_IA32_CC_FLAGS = /D EFI32
195 MSFT:*_*_X64_CC_FLAGS = /D EFIX64
196 MSFT:*_*_IPF_CC_FLAGS = /D EFI64
197