]> git.proxmox.com Git - mirror_edk2.git/blob - AppPkg/AppPkg.dsc
UefiPayloadPkg: Enhance UEFI payload for coreboot and Slim Bootloader
[mirror_edk2.git] / AppPkg / AppPkg.dsc
1 ## @file
2 # Intel(r) UEFI Application Development Kit for EDK II.
3 # This package contains applications which depend upon Standard Libraries
4 # from the StdLib package.
5 #
6 # See the comments in the [LibraryClasses.IA32] and [BuildOptions] sections
7 # for important information about configuring this package for your
8 # environment.
9 #
10 # Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
11 # SPDX-License-Identifier: BSD-2-Clause-Patent
12 ##
13
14 [Defines]
15 PLATFORM_NAME = AppPkg
16 PLATFORM_GUID = 0458dade-8b6e-4e45-b773-1b27cbda3e06
17 PLATFORM_VERSION = 0.01
18 DSC_SPECIFICATION = 0x00010006
19 OUTPUT_DIRECTORY = Build/AppPkg
20 SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64
21 BUILD_TARGETS = DEBUG|RELEASE|NOOPT
22 SKUID_IDENTIFIER = DEFAULT
23
24 #
25 # Debug output control
26 #
27 DEFINE DEBUG_ENABLE_OUTPUT = FALSE # Set to TRUE to enable debug output
28 DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x80000040 # Flags to control amount of debug output
29 DEFINE DEBUG_PROPERTY_MASK = 0
30
31 [PcdsFeatureFlag]
32
33 [PcdsFixedAtBuild]
34 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|$(DEBUG_PROPERTY_MASK)
35 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)
36
37 [LibraryClasses]
38 #
39 # Entry Point Libraries
40 #
41 UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
42 ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
43 UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
44 #
45 # Common Libraries
46 #
47 BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
48 BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
49 UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
50 PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
51 PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
52 MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
53 UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
54 UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
55 !if $(DEBUG_ENABLE_OUTPUT)
56 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
57 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
58 !else ## DEBUG_ENABLE_OUTPUT
59 DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
60 !endif ## DEBUG_ENABLE_OUTPUT
61
62 DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
63 PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
64 IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
65 PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
66 PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
67 SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
68 UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
69 HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
70 UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
71 PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
72 HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
73 FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
74 SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
75
76 ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
77
78 CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
79
80 ###################################################################################################
81 #
82 # Components Section - list of the modules and components that will be processed by compilation
83 # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
84 #
85 # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
86 # into firmware volume images. This section is just a list of modules to compile from
87 # source into UEFI-compliant binaries.
88 # It is the FDF file that contains information on combining binary files into firmware
89 # volume images, whose concept is beyond UEFI and is described in PI specification.
90 # Binary modules do not need to be listed in this section, as they should be
91 # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
92 # Logo (Logo.bmp), and etc.
93 # There may also be modules listed in this section that are not required in the FDF file,
94 # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
95 # generated for it, but the binary will not be put into any firmware volume.
96 #
97 ###################################################################################################
98
99 [Components]
100
101 #### Sample Applications.
102 AppPkg/Applications/Hello/Hello.inf # No LibC includes or functions.
103 AppPkg/Applications/Main/Main.inf # Simple invocation. No other LibC functions.
104 AppPkg/Applications/Enquire/Enquire.inf #
105 AppPkg/Applications/ArithChk/ArithChk.inf #
106
107 #### A simple fuzzer for OrderedCollectionLib, in particular for
108 #### BaseOrderedCollectionRedBlackTreeLib.
109 AppPkg/Applications/OrderedCollectionTest/OrderedCollectionTest.inf {
110 <LibraryClasses>
111 OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
112 DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
113 DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
114 <PcdsFeatureFlag>
115 gEfiMdePkgTokenSpaceGuid.PcdValidateOrderedCollection|TRUE
116 <PcdsFixedAtBuild>
117 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
118 gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80400040
119 }
120
121 #### Un-comment the following line to build Python 2.7.2.
122 # AppPkg/Applications/Python/PythonCore.inf
123
124 #### Un-comment the following line to build Python 2.7.10.
125 # AppPkg/Applications/Python/Python-2.7.10/Python2710.inf
126
127 #### Un-comment the following line to build Lua.
128 # AppPkg/Applications/Lua/Lua.inf
129
130
131 ##############################################################################
132 #
133 # Specify whether we are running in an emulation environment, or not.
134 # Define EMULATE if we are, else keep the DEFINE commented out.
135 #
136 # DEFINE EMULATE = 1
137
138 ##############################################################################
139 #
140 # Include Boilerplate text required for building with the Standard Libraries.
141 #
142 ##############################################################################
143 !include StdLib/StdLib.inc
144 !include AppPkg/Applications/Sockets/Sockets.inc