]>
Commit | Line | Data |
---|---|---|
2aa62f2b | 1 | ## @file\r |
2 | # Intel(r) UEFI Standard Libraries for EDK II.\r | |
3 | # Build descriptions.\r | |
4 | #\r | |
5 | # See the comments in the [LibraryClasses.IA32] and [BuildOptions] sections\r | |
6 | # for important information about configuring this package for your\r | |
7 | # environment.\r | |
8 | #\r | |
9 | # This package contains:\r | |
10 | # Standard C Library.\r | |
11 | #\r | |
12 | # Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r | |
13 | # This program and the accompanying materials\r | |
14 | # are licensed and made available under the terms and conditions of the BSD License\r | |
15 | # which accompanies this distribution. The full text of the license may be found at\r | |
16 | # http://opensource.org/licenses/bsd-license.\r | |
17 | #\r | |
18 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
19 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
20 | ##\r | |
21 | \r | |
22 | [Defines]\r | |
23 | PLATFORM_NAME = StdLib\r | |
24 | PLATFORM_GUID = 6135e67b-d813-4e4a-93c3-945d6af41858\r | |
25 | PLATFORM_VERSION = 0.01\r | |
26 | DSC_SPECIFICATION = 0x00010006\r | |
27 | OUTPUT_DIRECTORY = Build/StdLib\r | |
28 | SUPPORTED_ARCHITECTURES = IA32|IPF|X64\r | |
29 | BUILD_TARGETS = DEBUG|RELEASE\r | |
30 | SKUID_IDENTIFIER = DEFAULT\r | |
31 | \r | |
32 | [PcdsFeatureFlag]\r | |
33 | \r | |
34 | [PcdsFixedAtBuild]\r | |
35 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r | |
36 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r | |
37 | \r | |
38 | [PcdsFixedAtBuild.IPF]\r | |
39 | \r | |
40 | [LibraryClasses]\r | |
41 | #\r | |
42 | # Entry Point Libraries\r | |
43 | #\r | |
44 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
45 | ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r | |
46 | #\r | |
47 | # Common Libraries\r | |
48 | #\r | |
49 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r | |
50 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
51 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r | |
52 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
53 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
54 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
55 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r | |
56 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r | |
57 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
58 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r | |
59 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
60 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r | |
61 | PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r | |
62 | PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r | |
63 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r | |
64 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r | |
65 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
66 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r | |
67 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
68 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
69 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r | |
70 | FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r | |
71 | SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf\r | |
72 | \r | |
73 | #\r | |
74 | # C Standard Libraries\r | |
75 | #\r | |
76 | LibC|StdLib/LibC/LibC.inf\r | |
77 | LibStdLib|StdLib/LibC/StdLib/StdLib.inf\r | |
78 | LibString|StdLib/LibC/String/String.inf\r | |
79 | LibWchar|StdLib/LibC/Wchar/Wchar.inf\r | |
80 | LibCType|StdLib/LibC/Ctype/Ctype.inf\r | |
81 | LibTime|StdLib/LibC/Time/Time.inf\r | |
82 | LibStdio|StdLib/LibC/Stdio/Stdio.inf\r | |
83 | LibGdtoa|StdLib/LibC/gdtoa/gdtoa.inf\r | |
84 | LibLocale|StdLib/LibC/Locale/Locale.inf\r | |
85 | LibUefi|StdLib/LibC/Uefi/Uefi.inf\r | |
86 | LibMath|StdLib/LibC/Math/Math.inf\r | |
87 | LibSignal|StdLib/LibC/Signal/Signal.inf\r | |
88 | LibNetUtil|StdLib/LibC/NetUtil/NetUtil.inf\r | |
89 | \r | |
90 | [LibraryClasses.IA32]\r | |
91 | TimerLib|PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf\r | |
92 | ## Comment out the above line and un-comment the line below for running under Nt32 emulation.\r | |
93 | # TimerLib|MdePkg/Library/BaseTimerLibNullTemplate/BaseTimerLibNullTemplate.inf\r | |
94 | \r | |
95 | [LibraryClasses.X64]\r | |
96 | TimerLib|PerformancePkg/Library/DxeTscTimerLib/DxeTscTimerLib.inf\r | |
97 | \r | |
98 | [LibraryClasses.IPF]\r | |
99 | PalLib|MdePkg/Library/UefiPalLib/UefiPalLib.inf\r | |
100 | TimerLib|MdePkg/Library/SecPeiDxeTimerLibCpu/SecPeiDxeTimerLibCpu.inf\r | |
101 | \r | |
102 | ###################################################################################################\r | |
103 | #\r | |
104 | # Components Section - list of the modules and components that will be processed by compilation\r | |
105 | # tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r | |
106 | #\r | |
107 | # Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r | |
108 | # into firmware volume images. This section is just a list of modules to compile from\r | |
109 | # source into UEFI-compliant binaries.\r | |
110 | # It is the FDF file that contains information on combining binary files into firmware\r | |
111 | # volume images, whose concept is beyond UEFI and is described in PI specification.\r | |
112 | # Binary modules do not need to be listed in this section, as they should be\r | |
113 | # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r | |
114 | # Logo (Logo.bmp), and etc.\r | |
115 | # There may also be modules listed in this section that are not required in the FDF file,\r | |
116 | # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r | |
117 | # generated for it, but the binary will not be put into any firmware volume.\r | |
118 | #\r | |
119 | ###################################################################################################\r | |
120 | \r | |
121 | [Components]\r | |
122 | # BaseLib and BaseMemoryLib need to be built with the /GL- switch when using the Microsoft\r | |
123 | # tool chain. This is required so that the library functions can be resolved during\r | |
124 | # the second pass of the linker during Link-time-code-generation.\r | |
125 | ###\r | |
126 | # MdePkg/Library/BaseLib/BaseLib.inf {\r | |
127 | # <BuildOptions>\r | |
128 | # MSFT:*_*_*_CC_FLAGS = /X /Zc:wchar_t /GL-\r | |
129 | # }\r | |
130 | #\r | |
131 | # MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf {\r | |
132 | # <BuildOptions>\r | |
133 | # MSFT:*_*_*_CC_FLAGS = /X /Zc:wchar_t /GL-\r | |
134 | # }\r | |
135 | \r | |
136 | # Standard C Libraries.\r | |
137 | StdLib/LibC/LibC.inf\r | |
138 | StdLib/LibC/StdLib/StdLib.inf\r | |
139 | StdLib/LibC/String/String.inf\r | |
140 | StdLib/LibC/Wchar/Wchar.inf\r | |
141 | StdLib/LibC/Ctype/Ctype.inf\r | |
142 | StdLib/LibC/Time/Time.inf\r | |
143 | StdLib/LibC/Stdio/Stdio.inf\r | |
144 | StdLib/LibC/gdtoa/gdtoa.inf\r | |
145 | StdLib/LibC/Locale/Locale.inf\r | |
146 | StdLib/LibC/Uefi/Uefi.inf\r | |
147 | StdLib/LibC/Math/Math.inf\r | |
148 | StdLib/LibC/Signal/Signal.inf\r | |
149 | StdLib/LibC/NetUtil/NetUtil.inf\r | |
150 | \r | |
151 | \r | |
152 | ################################################################\r | |
153 | #\r | |
154 | # See the additional comments below if you plan to run applications under the\r | |
155 | # Nt32 emulation environment.\r | |
156 | #\r | |
157 | \r | |
158 | [BuildOptions]\r | |
159 | INTEL:*_*_*_CC_FLAGS = /Qfreestanding\r | |
160 | MSFT:*_*_*_CC_FLAGS = /X /Zc:wchar_t\r | |
161 | GCC:*_*_*_CC_FLAGS = -ffreestanding -nostdinc -nostdlib\r | |
162 | \r | |
163 | # The Build Options, below, are only used when building the C library\r | |
164 | # to be run under the NT32 emulation. They disable the clock() system call\r | |
165 | # which is currently incompatible with the NT32 environment.\r | |
166 | # Just uncomment the lines below and select the correct TimerLib instance, above.\r | |
167 | \r | |
168 | # INTEL:*_*_IA32_CC_FLAGS = /D NT32dvm\r | |
169 | # MSFT:*_*_IA32_CC_FLAGS = /D NT32dvm\r | |
170 | # GCC:*_*_IA32_CC_FLAGS = -DNT32dvm\r |