2 # EDK Compatibility Package Build File
\r
5 # Copyright (c) 2008 Intel Corporation
\r
7 # All rights reserved. This program and the accompanying materials
\r
8 # are licensed and made available under the terms and conditions of the BSD License
\r
9 # which accompanies this distribution. The full text of the license may be found at
\r
10 # http://opensource.org/licenses/bsd-license.php
\r
12 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
\r
13 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
\r
17 ################################################################################
\r
19 # Defines Section - statements that will be processed to create a Makefile.
\r
21 ################################################################################
\r
23 PLATFORM_NAME = EdkCompatibilityPkg
\r
24 PLATFORM_GUID = 6CBD2F63-BCF2-42b0-937E-869C67D2F734
\r
25 PLATFORM_VERSION = 0.1
\r
26 DSC_SPECIFICATION = 0x00010005
\r
27 OUTPUT_DIRECTORY = Build/EdkCompatibilityPkg
\r
28 SUPPORTED_ARCHITECTURES = IA32|X64|IPF|EBC
\r
29 BUILD_TARGETS = DEBUG|RELEASE
\r
30 SKUID_IDENTIFIER = DEFAULT
\r
31 define MSFT_MACRO = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D PCD_EDKII_GLUE_PciExpressBaseAddress=0xE0000000
\r
32 define INTEL_MACRO = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D PCD_EDKII_GLUE_PciExpressBaseAddress=0xE0000000
\r
33 define GCC_MACRO = -DEFI_SPECIFICATION_VERSION=0x0002000A -DPI_SPECIFICATION_VERSION=0x00010000 -DTIANO_RELEASE_VERSION=0x00080006 -DPCD_EDKII_GLUE_PciExpressBaseAddress=0xE0000000
\r
35 ################################################################################
\r
37 # SKU Identification section - list of all SKU IDs supported by this
\r
40 ################################################################################
\r
42 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.
\r
44 [LibraryClasses.common]
\r
45 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
\r
46 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
\r
47 HiiLib|MdePkg/Library/UefiHiiLib/UefiHiiLib.inf
\r
48 ExtendedHiiLib|MdeModulePkg/Library/ExtendedHiiLib/ExtendedHiiLib.inf
\r
49 IfrSupportLib|MdePkg/Library/UefiIfrSupportLib/UefiIfrSupportLib.inf
\r
50 ExtendedIfrSupportLib|MdeModulePkg/Library/ExtendedIfrSupportLib/ExtendedIfrSupportLib.inf
\r
51 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
\r
52 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
\r
53 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
\r
54 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
\r
55 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
\r
56 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
\r
57 TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf
\r
58 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
\r
59 PalCallLib|MdePkg/Library/BasePalCallLibNull/BasePalCallLibNull.inf
\r
60 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
\r
61 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
\r
62 PeimEntryPoint|MdePkg/Library/PeimEntryPoint/PeimEntryPoint.inf
\r
63 PeiServicesLib|MdePkg/Library/PeiServicesLib/PeiServicesLib.inf
\r
64 PeiServicesTablePointerLib|MdePkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
\r
65 PeiPiLib|MdePkg/Library/PeiPiLib/PeiPiLib.inf
\r
67 [LibraryClasses.common.PEIM]
\r
68 HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
\r
69 MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
\r
71 [LibraryClasses.common.DXE_DRIVER]
\r
72 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
\r
75 GCC:*_*_IA32_CC_FLAGS = -DEFI32 $(GCC_MACRO)
\r
76 GCC:*_*_IA32_ASM_FLAGS = -DEFI32
\r
77 GCC:*_*_IA32_VFRPP_FLAGS = -DEFI32 $(GCC_MACRO)
\r
78 GCC:*_*_IA32_APP_FLAGS = -DEFI32 $(GCC_MACRO)
\r
79 GCC:*_*_IA32_PP_FLAGS = -DEFI32 $(GCC_MACRO)
\r
81 GCC:*_*_X64_CC_FLAGS = -DEFIX64 $(GCC_MACRO)
\r
82 GCC:*_*_X64_ASM_FLAGS = -DEFIX64
\r
83 GCC:*_*_X64_VFRPP_FLAGS = -DEFIX64 $(GCC_MACRO)
\r
84 GCC:*_*_X64_APP_FLAGS = -DEFIX64 $(GCC_MACRO)
\r
85 GCC:*_*_X64_PP_FLAGS = -DEFIX64 $(GCC_MACRO)
\r
87 GCC:*_*_IPF_CC_FLAGS = -DEFI64 $(GCC_MACRO)
\r
88 GCC:*_*_IPF_ASM_FLAGS =
\r
89 GCC:*_*_IPF_VFRPP_FLAGS = -DEFI64 $(GCC_MACRO)
\r
90 GCC:*_*_IPF_APP_FLAGS = -DEFI64 $(GCC_MACRO)
\r
91 GCC:*_*_IPF_PP_FLAGS = -DEFI64 $(GCC_MACRO)
\r
94 INTEL:*_*_IA32_CC_FLAGS = /D EFI32 $(MSFT_MACRO)
\r
95 INTEL:*_*_IA32_ASM_FLAGS = /DEFI32
\r
96 INTEL:*_*_IA32_VFRPP_FLAGS = /D EFI32 $(MSFT_MACRO)
\r
97 INTEL:*_*_IA32_APP_FLAGS = /D EFI32 $(MSFT_MACRO)
\r
98 INTEL:*_*_IA32_PP_FLAGS = /D EFI32 $(MSFT_MACRO)
\r
100 INTEL:*_*_EBC_CC_FLAGS = /D EFI32 $(MSFT_MACRO)
\r
101 INTEL:*_*_EBC_PP_FLAGS = /D EFI32 $(MSFT_MACRO)
\r
103 INTEL:*_*_X64_CC_FLAGS = /D EFIX64 $(MSFT_MACRO)
\r
104 INTEL:*_*_X64_ASM_FLAGS = /DEFIX64
\r
105 INTEL:*_*_X64_VFRPP_FLAGS = /D EFIX64 $(MSFT_MACRO)
\r
106 INTEL:*_*_X64_APP_FLAGS = /D EFIX64 $(MSFT_MACRO)
\r
107 INTEL:*_*_X64_PP_FLAGS = /D EFIX64 $(MSFT_MACRO)
\r
109 INTEL:*_*_IPF_CC_FLAGS = /D EFI64 $(MSFT_MACRO)
\r
110 INTEL:*_*_IPF_ASM_FLAGS =
\r
111 INTEL:*_*_IPF_VFRPP_FLAGS = /D EFI64 $(MSFT_MACRO)
\r
112 INTEL:*_*_IPF_APP_FLAGS = /D EFI64 $(MSFT_MACRO)
\r
113 INTEL:*_*_IPF_PP_FLAGS = /D EFI64 $(MSFT_MACRO)
\r
116 MSFT:*_*_IA32_CC_FLAGS = /D EFI32 $(MSFT_MACRO)
\r
117 MSFT:*_*_IA32_ASM_FLAGS = /DEFI32
\r
118 MSFT:*_*_IA32_VFRPP_FLAGS = /D EFI32 $(MSFT_MACRO)
\r
119 MSFT:*_*_IA32_APP_FLAGS = /D EFI32 $(MSFT_MACRO)
\r
120 MSFT:*_*_IA32_PP_FLAGS = /D EFI32 $(MSFT_MACRO)
\r
122 MSFT:*_*_X64_CC_FLAGS = /D EFIX64 $(MSFT_MACRO)
\r
123 MSFT:*_*_X64_ASM_FLAGS = /DEFIX64
\r
124 MSFT:*_*_X64_VFRPP_FLAGS = /D EFIX64 $(MSFT_MACRO)
\r
125 MSFT:*_*_X64_APP_FLAGS = /D EFIX64 $(MSFT_MACRO)
\r
126 MSFT:*_*_X64_PP_FLAGS = /D EFIX64 $(MSFT_MACRO)
\r
128 MSFT:*_*_IPF_CC_FLAGS = /D EFI64 $(MSFT_MACRO)
\r
129 MSFT:*_*_IPF_ASM_FLAGS =
\r
130 MSFT:*_*_IPF_VFRPP_FLAGS = /D EFI64 $(MSFT_MACRO)
\r
131 MSFT:*_*_IPF_APP_FLAGS = /D EFI64 $(MSFT_MACRO)
\r
132 MSFT:*_*_IPF_PP_FLAGS = /D EFI64 $(MSFT_MACRO)
\r
135 [Components.Common]
\r
137 # All Libraries Instances listed in Alphabetic Order
\r
138 EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf
\r
139 EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf
\r
140 EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiProtocolLib.inf
\r
141 EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf
\r
142 EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf
\r
143 EdkCompatibilityPkg/Foundation/Framework/Protocol/EdkFrameworkProtocolLib.inf
\r
144 EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf
\r
147 # BugBug: Can't pass IPF build. Will investigate and add back later.
\r
149 # EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf
\r
150 EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.inf
\r
151 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiDriverLib.inf
\r
152 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/EfiIfrSupportLib.inf
\r
153 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.inf
\r
154 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiUiLib/EfiUiLib.inf
\r
155 EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/Graphics.inf
\r
156 EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Graphics.inf
\r
157 EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf
\r
158 EdkCompatibilityPkg/Foundation/Library/Dxe/Print/PrintLib.inf
\r
159 EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/PrintLib.inf
\r
160 EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiEfiIfrSupportLib.inf
\r
161 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
\r
162 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseDebugLibNull/BaseDebugLibNull.inf
\r
164 # Need to sync with MdePkg\Library\BaseIoLibIntrinsic\BaseIoLibIntrinsic.inf so that EBC can pass build
\r
166 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
\r
167 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/BaseLib.inf
\r
168 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseMemoryLib/BaseMemoryLib.inf
\r
169 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciCf8Lib/BasePciCf8Lib.inf
\r
170 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciExpressLib/BasePciExpressLib.inf
\r
171 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibCf8/BasePciLibCf8.inf
\r
172 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf
\r
173 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
\r
174 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/BasePeCoffLib.inf
\r
175 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf
\r
176 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf
\r
177 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePrintLib/BasePrintLib.inf
\r
178 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/BaseTimerLibLocalApic.inf
\r
179 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
\r
180 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeHobLib/DxeHobLib.inf
\r
181 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/DxeIoLibCpuIo.inf
\r
182 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf
\r
185 # BugBug: Can't pass IPF build. Will investigate and add back later.
\r
187 # EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxePerformanceLib/DxePerformanceLib.inf
\r
189 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf
\r
190 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeServicesTableLib/DxeServicesTableLib.inf
\r
191 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeSmbusLib/DxeSmbusLib.inf
\r
192 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeRuntimeDriverLib/EdkDxeRuntimeDriverLib.inf
\r
193 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/HiiLib/HiiLib.inf
\r
194 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
\r
195 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiDxePostCodeLibReportStatusCode/PeiDxePostCodeLibReportStatusCode.inf
\r
196 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiHobLib/PeiHobLib.inf
\r
197 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
\r
199 # BugBug: Can't pass IPF build. Will investigate and add back later.
\r
201 # EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiPerformanceLib/PeiPerformanceLib.inf
\r
202 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf
\r
203 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf
\r
204 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesLib/PeiServicesLib.inf
\r
205 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf
\r
206 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiSmbusLib/PeiSmbusLib.inf
\r
207 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
\r
208 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDevicePathLib/UefiDevicePathLib.inf
\r
209 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDriverModelLib/UefiDriverModelLib.inf
\r
210 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiLib/UefiLib.inf
\r
211 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
\r
212 EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib.inf
\r
213 EdkCompatibilityPkg/Foundation/Library/Pei/Hob/PeiHobLib.inf
\r
214 EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/EfiRuntimeLib.inf
\r
215 EdkCompatibilityPkg/Foundation/Library/Thunk16/Thunk16Lib.inf
\r
216 EdkCompatibilityPkg/Foundation/Ppi/EdkPpiLib.inf
\r
217 EdkCompatibilityPkg/Foundation/Protocol/EdkProtocolLib.inf
\r
218 EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.inf
\r
219 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsDataHubStatusCode/BsDataHubStatusCode.inf
\r
220 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsSerialStatusCode/BsSerialStatusCode.inf
\r
221 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtLedStatusCode/RtLedStatusCode.inf
\r
222 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtMemoryStatusCode/RtMemoryStatusCode.inf
\r
223 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtPlatformStatusCode/Nt32/RtPlatformStatusCode.inf
\r
224 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtPort80StatusCode/RtPort80StatusCode.inf
\r
225 EdkCompatibilityPkg/Sample/Platform/Nt32/Ppi/EdkNt32PpiLib.inf
\r
226 EdkCompatibilityPkg/Sample/Platform/Nt32/Protocol/EdkNt32ProtocolLib.inf
\r
229 # Modules in Compatibility Directory
\r
231 EdkCompatibilityPkg/Compatibility/DeviceIoToPciRootBridgeIoThunk/DeviceIoToPciRootBridgeIoThunk.inf
\r
232 EdkCompatibilityPkg/Compatibility/FrameworkHiiToUefiHiiThunk/FrameworkHiiToUefiHiiThunk.inf
\r
233 EdkCompatibilityPkg/Compatibility/FvFileLoaderToLoadFileThunk/FvFileLoaderToLoadFileThunk.inf
\r
234 EdkCompatibilityPkg/Compatibility/FvToFv2Thunk/FvToFv2Thunk.inf
\r
235 EdkCompatibilityPkg/Compatibility/Fv2ToFvThunk/Fv2ToFvThunk.inf
\r
236 EdkCompatibilityPkg/Compatibility/PciCfg2ToPciCfgThunk/PciCfg2ToPciCfgThunk.inf
\r
237 EdkCompatibilityPkg/Compatibility/PciCfgToPciCfg2Thunk/PciCfgToPciCfg2Thunk.inf
\r
238 EdkCompatibilityPkg/Compatibility/ReadOnlyVariable2ToReadOnlyVariableThunk/ReadOnlyVariable2ToReadOnlyVariableThunk.inf
\r
239 EdkCompatibilityPkg/Compatibility/ReadOnlyVariableToReadOnlyVariable2Thunk/ReadOnlyVariableToReadOnlyVariable2Thunk.inf
\r
240 EdkCompatibilityPkg/Compatibility/Uc2ToUcThunk/Uc2ToUcThunk.inf
\r
241 EdkCompatibilityPkg/Compatibility/UcToUc2Thunk/UcToUc2Thunk.inf
\r
243 [Components.IA32,Components.X64,Components.IPF]
\r
244 EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib.inf
\r
246 [Components.IA32,Components.X64]
\r
247 EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib.inf
\r
248 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointerLibMm7.inf
\r
251 EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIa64Lib/CpuIA64Lib.inf
\r
252 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeSalLib/EdkDxeSalLib.inf
\r
253 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibKr1/PeiServicesTablePointerLibKr1.inf
\r