]> git.proxmox.com Git - mirror_edk2.git/blame - StdLib/StdLib.dsc
BaseTools: Fix corner-cases of --hash feature
[mirror_edk2.git] / StdLib / StdLib.dsc
CommitLineData
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
caf89d64
DM
11# Sockets Library.\r
12# Posix Library.\r
2aa62f2b 13#\r
56ca9007 14# Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>\r
0a2530ea 15# SPDX-License-Identifier: BSD-2-Clause-Patent\r
2aa62f2b 16##\r
17\r
18[Defines]\r
19 PLATFORM_NAME = StdLib\r
20 PLATFORM_GUID = 6135e67b-d813-4e4a-93c3-945d6af41858\r
21 PLATFORM_VERSION = 0.01\r
22 DSC_SPECIFICATION = 0x00010006\r
23 OUTPUT_DIRECTORY = Build/StdLib\r
1bbb83b5 24 SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64\r
4b2cf923 25 BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r
2aa62f2b 26 SKUID_IDENTIFIER = DEFAULT\r
27\r
86e9f87e
LL
28#\r
29# Debug output control\r
30#\r
31 DEFINE DEBUG_ENABLE_OUTPUT = FALSE # Set to TRUE to enable debug output\r
32 DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x80000000 # Flags to control amount of debug output\r
33 DEFINE DEBUG_PROPERTY_MASK = 0x0f\r
34\r
2aa62f2b 35[PcdsFeatureFlag]\r
36\r
37[PcdsFixedAtBuild]\r
86e9f87e
LL
38 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|$(DEBUG_PROPERTY_MASK)\r
39 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)\r
2aa62f2b 40\r
2aa62f2b 41[LibraryClasses]\r
42 #\r
43 # Entry Point Libraries\r
44 #\r
45 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r
46 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r
d7ce7006 47 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r
2aa62f2b 48 #\r
49 # Common Libraries\r
50 #\r
51 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r
52 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r
53 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r
54 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r
55 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r
56 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
57 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
58 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
86e9f87e
LL
59 !if $(DEBUG_ENABLE_OUTPUT)\r
60 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
61 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
62 !else ## DEBUG_ENABLE_OUTPUT\r
63 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
64 !endif ## DEBUG_ENABLE_OUTPUT\r
2aa62f2b 65 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
66 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
67 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
68 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r
69 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r
70 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r
71 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r
6a013e50
DM
72 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
73 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
2aa62f2b 74 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r
75 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
76 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
6a013e50 77 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
2aa62f2b 78 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
2aa62f2b 79\r
80###################################################################################################\r
81#\r
82# Components Section - list of the modules and components that will be processed by compilation\r
83# tools and the EDK II tools to generate PE32/PE32+/Coff image files.\r
84#\r
85# Note: The EDK II DSC file is not used to specify how compiled binary images get placed\r
86# into firmware volume images. This section is just a list of modules to compile from\r
87# source into UEFI-compliant binaries.\r
88# It is the FDF file that contains information on combining binary files into firmware\r
89# volume images, whose concept is beyond UEFI and is described in PI specification.\r
90# Binary modules do not need to be listed in this section, as they should be\r
91# specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),\r
92# Logo (Logo.bmp), and etc.\r
93# There may also be modules listed in this section that are not required in the FDF file,\r
94# When a module listed here is excluded from FDF file, then UEFI-compliant binary will be\r
95# generated for it, but the binary will not be put into any firmware volume.\r
96#\r
97###################################################################################################\r
98\r
99[Components]\r
2aa62f2b 100# Standard C Libraries.\r
101 StdLib/LibC/LibC.inf\r
102 StdLib/LibC/StdLib/StdLib.inf\r
103 StdLib/LibC/String/String.inf\r
104 StdLib/LibC/Wchar/Wchar.inf\r
105 StdLib/LibC/Ctype/Ctype.inf\r
106 StdLib/LibC/Time/Time.inf\r
107 StdLib/LibC/Stdio/Stdio.inf\r
2aa62f2b 108 StdLib/LibC/Locale/Locale.inf\r
109 StdLib/LibC/Uefi/Uefi.inf\r
110 StdLib/LibC/Math/Math.inf\r
111 StdLib/LibC/Signal/Signal.inf\r
112 StdLib/LibC/NetUtil/NetUtil.inf\r
113\r
53e1e5c6 114# Device Abstractions within the Standard C Library\r
115# Applications should not directly access any functions defined in these libraries.\r
d7ce7006 116 StdLib/LibC/gdtoa/gdtoa.inf\r
53e1e5c6 117 StdLib/LibC/Uefi/Devices/daUtility.inf\r
118 StdLib/LibC/Uefi/Devices/daConsole.inf\r
119 StdLib/LibC/Uefi/Devices/daShell.inf\r
2aa62f2b 120\r
6c6c850a 121# Additional, non-standard, libraries\r
122 StdLib/LibC/Containers/ContainerLib.inf\r
123\r
d7ce7006 124# Additional libraries for POSIX functionality.\r
caf89d64 125 StdLib/PosixLib/PosixLib.inf\r
d7ce7006 126 StdLib/PosixLib/Err/LibErr.inf\r
127 StdLib/PosixLib/Gen/LibGen.inf\r
128 StdLib/PosixLib/Glob/LibGlob.inf\r
129 StdLib/PosixLib/Stringlist/LibStringlist.inf\r
6c6c850a 130 StdLib/LibC/Uefi/InteractiveIO/IIO.inf\r
2aa62f2b 131\r
274402de 132# Socket Libraries - LibC based\r
7700f0f5 133 StdLib/BsdSocketLib/BsdSocketLib.inf\r
134 StdLib/EfiSocketLib/EfiSocketLib.inf\r
135 StdLib/UseSocketDxe/UseSocketDxe.inf\r
2aa62f2b 136\r
274402de 137##############################################################################\r
d7ce7006 138#\r
274402de 139# Include Boilerplate text required for building with the Standard Libraries.\r
d7ce7006 140#\r
274402de 141##############################################################################\r
d7ce7006 142!include StdLib/StdLib.inc\r