1 | ## @file
|
---|
2 | # Intel(r) UEFI Standard Libraries for EDK II.
|
---|
3 | # Build descriptions.
|
---|
4 | #
|
---|
5 | # See the comments in the [LibraryClasses.IA32] and [BuildOptions] sections
|
---|
6 | # for important information about configuring this package for your
|
---|
7 | # environment.
|
---|
8 | #
|
---|
9 | # This package contains:
|
---|
10 | # Standard C Library.
|
---|
11 | # Sockets Library.
|
---|
12 | # Posix Library.
|
---|
13 | #
|
---|
14 | # Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
|
---|
15 | # This program and the accompanying materials
|
---|
16 | # are licensed and made available under the terms and conditions of the BSD License
|
---|
17 | # which accompanies this distribution. The full text of the license may be found at
|
---|
18 | # http://opensource.org/licenses/bsd-license.
|
---|
19 | #
|
---|
20 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
---|
21 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
---|
22 | ##
|
---|
23 |
|
---|
24 | [Defines]
|
---|
25 | PLATFORM_NAME = StdLib
|
---|
26 | PLATFORM_GUID = 6135e67b-d813-4e4a-93c3-945d6af41858
|
---|
27 | PLATFORM_VERSION = 0.01
|
---|
28 | DSC_SPECIFICATION = 0x00010006
|
---|
29 | OUTPUT_DIRECTORY = Build/StdLib
|
---|
30 | SUPPORTED_ARCHITECTURES = IA32|X64|ARM
|
---|
31 | BUILD_TARGETS = DEBUG|RELEASE
|
---|
32 | SKUID_IDENTIFIER = DEFAULT
|
---|
33 |
|
---|
34 | #
|
---|
35 | # Debug output control
|
---|
36 | #
|
---|
37 | DEFINE DEBUG_ENABLE_OUTPUT = FALSE # Set to TRUE to enable debug output
|
---|
38 | DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x80000000 # Flags to control amount of debug output
|
---|
39 | DEFINE DEBUG_PROPERTY_MASK = 0x0f
|
---|
40 |
|
---|
41 | [PcdsFeatureFlag]
|
---|
42 |
|
---|
43 | [PcdsFixedAtBuild]
|
---|
44 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|$(DEBUG_PROPERTY_MASK)
|
---|
45 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)
|
---|
46 |
|
---|
47 | [PcdsFixedAtBuild.IPF]
|
---|
48 |
|
---|
49 | [LibraryClasses]
|
---|
50 | #
|
---|
51 | # Entry Point Libraries
|
---|
52 | #
|
---|
53 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
|
---|
54 | ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
|
---|
55 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
---|
56 | #
|
---|
57 | # Common Libraries
|
---|
58 | #
|
---|
59 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
---|
60 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
---|
61 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
---|
62 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
---|
63 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
---|
64 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
---|
65 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
---|
66 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
---|
67 | !if $(DEBUG_ENABLE_OUTPUT)
|
---|
68 | DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
|
---|
69 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
---|
70 | !else ## DEBUG_ENABLE_OUTPUT
|
---|
71 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
---|
72 | !endif ## DEBUG_ENABLE_OUTPUT
|
---|
73 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
---|
74 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
---|
75 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
|
---|
76 | PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
|
---|
77 | PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
|
---|
78 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
|
---|
79 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
|
---|
80 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
|
---|
81 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
|
---|
82 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
|
---|
83 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
---|
84 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
|
---|
85 | FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
|
---|
86 | SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
|
---|
87 | PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
|
---|
88 |
|
---|
89 | ###################################################################################################
|
---|
90 | #
|
---|
91 | # Components Section - list of the modules and components that will be processed by compilation
|
---|
92 | # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
|
---|
93 | #
|
---|
94 | # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
|
---|
95 | # into firmware volume images. This section is just a list of modules to compile from
|
---|
96 | # source into UEFI-compliant binaries.
|
---|
97 | # It is the FDF file that contains information on combining binary files into firmware
|
---|
98 | # volume images, whose concept is beyond UEFI and is described in PI specification.
|
---|
99 | # Binary modules do not need to be listed in this section, as they should be
|
---|
100 | # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
|
---|
101 | # Logo (Logo.bmp), and etc.
|
---|
102 | # There may also be modules listed in this section that are not required in the FDF file,
|
---|
103 | # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
|
---|
104 | # generated for it, but the binary will not be put into any firmware volume.
|
---|
105 | #
|
---|
106 | ###################################################################################################
|
---|
107 |
|
---|
108 | [Components]
|
---|
109 | # Standard C Libraries.
|
---|
110 | StdLib/LibC/LibC.inf
|
---|
111 | StdLib/LibC/StdLib/StdLib.inf
|
---|
112 | StdLib/LibC/String/String.inf
|
---|
113 | StdLib/LibC/Wchar/Wchar.inf
|
---|
114 | StdLib/LibC/Ctype/Ctype.inf
|
---|
115 | StdLib/LibC/Time/Time.inf
|
---|
116 | StdLib/LibC/Stdio/Stdio.inf
|
---|
117 | StdLib/LibC/Locale/Locale.inf
|
---|
118 | StdLib/LibC/Uefi/Uefi.inf
|
---|
119 | StdLib/LibC/Math/Math.inf
|
---|
120 | StdLib/LibC/Signal/Signal.inf
|
---|
121 | StdLib/LibC/NetUtil/NetUtil.inf
|
---|
122 |
|
---|
123 | # Device Abstractions within the Standard C Library
|
---|
124 | # Applications should not directly access any functions defined in these libraries.
|
---|
125 | StdLib/LibC/gdtoa/gdtoa.inf
|
---|
126 | StdLib/LibC/Uefi/Devices/daUtility.inf
|
---|
127 | StdLib/LibC/Uefi/Devices/daConsole.inf
|
---|
128 | StdLib/LibC/Uefi/Devices/daShell.inf
|
---|
129 |
|
---|
130 | # Additional, non-standard, libraries
|
---|
131 | StdLib/LibC/Containers/ContainerLib.inf
|
---|
132 |
|
---|
133 | # Additional libraries for POSIX functionality.
|
---|
134 | StdLib/PosixLib/PosixLib.inf
|
---|
135 | StdLib/PosixLib/Err/LibErr.inf
|
---|
136 | StdLib/PosixLib/Gen/LibGen.inf
|
---|
137 | StdLib/PosixLib/Glob/LibGlob.inf
|
---|
138 | StdLib/PosixLib/Stringlist/LibStringlist.inf
|
---|
139 | StdLib/LibC/Uefi/InteractiveIO/IIO.inf
|
---|
140 |
|
---|
141 | # Socket Libraries - LibC based
|
---|
142 | StdLib/BsdSocketLib/BsdSocketLib.inf
|
---|
143 | StdLib/EfiSocketLib/EfiSocketLib.inf
|
---|
144 | StdLib/UseSocketDxe/UseSocketDxe.inf
|
---|
145 |
|
---|
146 | ##############################################################################
|
---|
147 | #
|
---|
148 | # Include Boilerplate text required for building with the Standard Libraries.
|
---|
149 | #
|
---|
150 | ##############################################################################
|
---|
151 | !include StdLib/StdLib.inc
|
---|