edk2/EdkCompatibilityPkg/EdkCompatibilityPkg.dsc:
[mirror_edk2.git] / EdkCompatibilityPkg / EdkCompatibilityPkg.dsc
CommitLineData
958536ba 1#/** @file\r
2# EDK Compatibility Package Build File\r
3#\r
4#\r
5# Copyright (c) 2008 Intel Corporation\r
6#\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
11#\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
14#\r
15#**/\r
16\r
17################################################################################\r
18#\r
19# Defines Section - statements that will be processed to create a Makefile.\r
20#\r
21################################################################################\r
22[Defines]\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\r
29 BUILD_TARGETS = DEBUG|RELEASE\r
30 SKUID_IDENTIFIER = DEFAULT\r
621dd765 31define MSFT_MACRO = /D EFI_SPECIFICATION_VERSION=0x0002000A /D PI_SPECIFICATION_VERSION=0x00010000 /D TIANO_RELEASE_VERSION=0x00080006 /D PCD_EDKII_GLUE_PciExpressBaseAddress=0xE0000000\r
32define GCC_MACRO = -DEFI_SPECIFICATION_VERSION=0x0002000A -DPI_SPECIFICATION_VERSION=0x00010000 -DTIANO_RELEASE_VERSION=0x00080006 -DPCD_EDKII_GLUE_PciExpressBaseAddress=0xE0000000\r
958536ba 33\r
34################################################################################\r
35#\r
36# SKU Identification section - list of all SKU IDs supported by this\r
37# Platform.\r
38#\r
39################################################################################\r
40[SkuIds]\r
41 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required.\r
42\r
43[BuildOptions]\r
7794bacc 44 GCC:*_*_IA32_CC_FLAGS = -DEFI32 $(GCC_MACRO)\r
45 GCC:*_*_IA32_ASM_FLAGS = -DEFI32\r
46 GCC:*_*_IA32_VFRPP_FLAGS = -DEFI32 $(GCC_MACRO)\r
47 GCC:*_*_IA32_APP_FLAGS = -DEFI32 $(GCC_MACRO)\r
48 GCC:*_*_IA32_PP_FLAGS = -DEFI32 $(GCC_MACRO)\r
49\r
50 GCC:*_*_X64_CC_FLAGS = -DEFIX64 $(GCC_MACRO)\r
51 GCC:*_*_X64_ASM_FLAGS = -DEFIX64\r
52 GCC:*_*_X64_VFRPP_FLAGS = -DEFIX64 $(GCC_MACRO)\r
53 GCC:*_*_X64_APP_FLAGS = -DEFIX64 $(GCC_MACRO)\r
54 GCC:*_*_X64_PP_FLAGS = -DEFIX64 $(GCC_MACRO)\r
55\r
56 GCC:*_*_IPF_CC_FLAGS = -DEFI64 $(GCC_MACRO)\r
6425868f 57 GCC:*_*_IPF_ASM_FLAGS =\r
7794bacc 58 GCC:*_*_IPF_VFRPP_FLAGS = -DEFI64 $(GCC_MACRO)\r
59 GCC:*_*_IPF_APP_FLAGS = -DEFI64 $(GCC_MACRO)\r
60 GCC:*_*_IPF_PP_FLAGS = -DEFI64 $(GCC_MACRO)\r
61\r
958536ba 62\r
0da6ca45 63 ICC:*_*_IA32_CC_FLAGS = /D EFI32 $(MSFT_MACRO)\r
64 ICC:*_*_IA32_ASM_FLAGS = /DEFI32\r
65 ICC:*_*_IA32_VFRPP_FLAGS = /D EFI32 $(MSFT_MACRO)\r
66 ICC:*_*_IA32_APP_FLAGS = /D EFI32 $(MSFT_MACRO)\r
67 ICC:*_*_IA32_PP_FLAGS = /D EFI32 $(MSFT_MACRO)\r
68\r
69 ICC:*_*_X64_CC_FLAGS = /D EFIX64 $(MSFT_MACRO)\r
70 ICC:*_*_X64_ASM_FLAGS = /DEFIX64\r
71 ICC:*_*_X64_VFRPP_FLAGS = /D EFIX64 $(MSFT_MACRO)\r
72 ICC:*_*_X64_APP_FLAGS = /D EFIX64 $(MSFT_MACRO)\r
73 ICC:*_*_X64_PP_FLAGS = /D EFIX64 $(MSFT_MACRO)\r
74\r
75 ICC:*_*_IPF_CC_FLAGS = /D EFI64 $(MSFT_MACRO)\r
76 ICC:*_*_IPF_ASM_FLAGS =\r
77 ICC:*_*_IPF_VFRPP_FLAGS = /D EFI64 $(MSFT_MACRO)\r
78 ICC:*_*_IPF_APP_FLAGS = /D EFI64 $(MSFT_MACRO)\r
79 ICC:*_*_IPF_PP_FLAGS = /D EFI64 $(MSFT_MACRO)\r
80\r
81\r
82 MSFT:*_*_IA32_CC_FLAGS = /D EFI32 $(MSFT_MACRO)\r
83 MSFT:*_*_IA32_ASM_FLAGS = /DEFI32\r
84 MSFT:*_*_IA32_VFRPP_FLAGS = /D EFI32 $(MSFT_MACRO)\r
85 MSFT:*_*_IA32_APP_FLAGS = /D EFI32 $(MSFT_MACRO)\r
86 MSFT:*_*_IA32_PP_FLAGS = /D EFI32 $(MSFT_MACRO)\r
87\r
88 MSFT:*_*_X64_CC_FLAGS = /D EFIX64 $(MSFT_MACRO)\r
89 MSFT:*_*_X64_ASM_FLAGS = /DEFIX64\r
90 MSFT:*_*_X64_VFRPP_FLAGS = /D EFIX64 $(MSFT_MACRO)\r
91 MSFT:*_*_X64_APP_FLAGS = /D EFIX64 $(MSFT_MACRO)\r
92 MSFT:*_*_X64_PP_FLAGS = /D EFIX64 $(MSFT_MACRO)\r
93\r
94 MSFT:*_*_IPF_CC_FLAGS = /D EFI64 $(MSFT_MACRO)\r
95 MSFT:*_*_IPF_ASM_FLAGS =\r
96 MSFT:*_*_IPF_VFRPP_FLAGS = /D EFI64 $(MSFT_MACRO)\r
97 MSFT:*_*_IPF_APP_FLAGS = /D EFI64 $(MSFT_MACRO)\r
98 MSFT:*_*_IPF_PP_FLAGS = /D EFI64 $(MSFT_MACRO)\r
99\r
958536ba 100\r
101[Components.Common]\r
102\r
103# All Libraries Instances listed in Alphabetic Order\r
e84217e7 104 EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/ArchProtocolLib.inf\r
105 EdkCompatibilityPkg/Foundation/Efi/Guid/EfiGuidLib.inf\r
106 EdkCompatibilityPkg/Foundation/Efi/Protocol/EfiProtocolLib.inf\r
107 EdkCompatibilityPkg/Foundation/Framework/Guid/EdkFrameworkGuidLib.inf\r
108 EdkCompatibilityPkg/Foundation/Framework/Ppi/EdkFrameworkPpiLib.inf\r
109 EdkCompatibilityPkg/Foundation/Framework/Protocol/EdkFrameworkProtocolLib.inf\r
110 EdkCompatibilityPkg/Foundation/Guid/EdkGuidLib.inf\r
958536ba 111\r
112 #\r
113 # BugBug: Can't pass IPF build. Will investigate and add back later.\r
114 #\r
e84217e7 115# EdkCompatibilityPkg/Foundation/Library/CompilerStub/CompilerStubLib.inf\r
116 EdkCompatibilityPkg/Foundation/Library/CustomizedDecompress/CustomizedDecompress.inf\r
117 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/EfiDriverLib.inf\r
118 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiIfrSupportLib/EfiIfrSupportLib.inf\r
119 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiScriptLib/EfiScriptLib.inf\r
120 EdkCompatibilityPkg/Foundation/Library/Dxe/EfiUiLib/EfiUiLib.inf\r
121 EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/Graphics.inf\r
122 EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/Graphics.inf\r
123 EdkCompatibilityPkg/Foundation/Library/Dxe/Hob/HobLib.inf\r
124 EdkCompatibilityPkg/Foundation/Library/Dxe/Print/PrintLib.inf\r
125 EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/PrintLib.inf\r
126 EdkCompatibilityPkg/Foundation/Library/Dxe/UefiEfiIfrSupportLib/UefiEfiIfrSupportLib.inf\r
127 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
128 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
129 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
130 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/BaseLib.inf\r
131 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseMemoryLib/BaseMemoryLib.inf\r
132 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
133 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciExpressLib/BasePciExpressLib.inf\r
134 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibCf8/BasePciLibCf8.inf\r
135 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePciLibPciExpress/BasePciLibPciExpress.inf\r
136 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
137 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/BasePeCoffLib.inf\r
138 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePostCodeLibDebug/BasePostCodeLibDebug.inf\r
139 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePostCodeLibPort80/BasePostCodeLibPort80.inf\r
140 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePrintLib/BasePrintLib.inf\r
141 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseTimerLibLocalApic/BaseTimerLibLocalApic.inf\r
142 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf\r
143 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeHobLib/DxeHobLib.inf\r
144 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/DxeIoLibCpuIo.inf\r
145 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeMemoryAllocationLib/DxeMemoryAllocationLib.inf\r
958536ba 146\r
147 #\r
148 # BugBug: Can't pass IPF build. Will investigate and add back later.\r
149 #\r
e84217e7 150# EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxePerformanceLib/DxePerformanceLib.inf\r
958536ba 151\r
e84217e7 152 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf\r
153 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeServicesTableLib/DxeServicesTableLib.inf\r
154 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeSmbusLib/DxeSmbusLib.inf\r
155 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeRuntimeDriverLib/EdkDxeRuntimeDriverLib.inf\r
156 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/HiiLib/HiiLib.inf\r
157 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf\r
158 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiDxePostCodeLibReportStatusCode/PeiDxePostCodeLibReportStatusCode.inf\r
159 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiHobLib/PeiHobLib.inf\r
160 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf\r
958536ba 161 #\r
162 # BugBug: Can't pass IPF build. Will investigate and add back later.\r
163 #\r
e84217e7 164# EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiPerformanceLib/PeiPerformanceLib.inf\r
165 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiReportStatusCodeLib/PeiReportStatusCodeLib.inf\r
166 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiResourcePublicationLib/PeiResourcePublicationLib.inf\r
167 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesLib/PeiServicesLib.inf\r
168 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLib/PeiServicesTablePointerLib.inf\r
169 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiSmbusLib/PeiSmbusLib.inf\r
170 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
171 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
172 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiDriverModelLib/UefiDriverModelLib.inf\r
173 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiLib/UefiLib.inf\r
174 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
175 EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/EfiCommonLib.inf\r
176 EdkCompatibilityPkg/Foundation/Library/Pei/Hob/PeiHobLib.inf\r
177 EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib.inf\r
178 EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/EfiRuntimeLib.inf\r
179 EdkCompatibilityPkg/Foundation/Library/Thunk16/Thunk16Lib.inf\r
180 EdkCompatibilityPkg/Foundation/Ppi/EdkPpiLib.inf\r
181 EdkCompatibilityPkg/Foundation/Protocol/EdkProtocolLib.inf\r
182 EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.inf\r
183 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsDataHubStatusCode/BsDataHubStatusCode.inf\r
184 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/BsSerialStatusCode/BsSerialStatusCode.inf\r
185 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtLedStatusCode/RtLedStatusCode.inf\r
186 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtMemoryStatusCode/RtMemoryStatusCode.inf\r
187 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtPlatformStatusCode/Nt32/RtPlatformStatusCode.inf\r
188 EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtPort80StatusCode/RtPort80StatusCode.inf\r
189 EdkCompatibilityPkg/Sample/Platform/Nt32/Ppi/EdkNt32PpiLib.inf\r
190 EdkCompatibilityPkg/Sample/Platform/Nt32/Protocol/EdkNt32ProtocolLib.inf\r
958536ba 191\r
3596bdac 192[Components.IA32,Components.X64]\r
e84217e7 193 EdkCompatibilityPkg/Foundation/Cpu/Pentium/CpuIA32Lib/CpuIA32Lib.inf\r
194 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibMm7/PeiServicesTablePointerLibMm7.inf\r
195 EdkCompatibilityPkg/Sample/Library/Dxe/WinNt/WinNtLib.inf\r
958536ba 196\r
197\r
198[Components.IPF]\r
e84217e7 199 EdkCompatibilityPkg/Foundation/Cpu/Itanium/CpuIa64Lib/CpuIA64Lib.inf\r
200 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/EdkDxeSalLib/EdkDxeSalLib.inf\r
201 EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/PeiServicesTablePointerLibKr1/PeiServicesTablePointerLibKr1.inf\r
958536ba 202\r