]>
Commit | Line | Data |
---|---|---|
2aa62f2b | 1 | ## @file\r |
2 | # Intel(r) UEFI Application Development Kit for EDK II.\r | |
3 | # This package contains applications which depend upon Standard Libraries\r | |
4 | # from the StdLib package.\r | |
5 | #\r | |
6 | # See the comments in the [LibraryClasses.IA32] and [BuildOptions] sections\r | |
7 | # for important information about configuring this package for your\r | |
8 | # environment.\r | |
9 | #\r | |
8a219767 | 10 | # Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>\r |
bcb96695 | 11 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r |
2aa62f2b | 12 | ##\r |
13 | \r | |
14 | [Defines]\r | |
15 | PLATFORM_NAME = AppPkg\r | |
16 | PLATFORM_GUID = 0458dade-8b6e-4e45-b773-1b27cbda3e06\r | |
17 | PLATFORM_VERSION = 0.01\r | |
18 | DSC_SPECIFICATION = 0x00010006\r | |
19 | OUTPUT_DIRECTORY = Build/AppPkg\r | |
4b2cf923 DM |
20 | SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64\r |
21 | BUILD_TARGETS = DEBUG|RELEASE|NOOPT\r | |
2aa62f2b | 22 | SKUID_IDENTIFIER = DEFAULT\r |
23 | \r | |
86e9f87e LL |
24 | #\r |
25 | # Debug output control\r | |
26 | #\r | |
27 | DEFINE DEBUG_ENABLE_OUTPUT = FALSE # Set to TRUE to enable debug output\r | |
28 | DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x80000040 # Flags to control amount of debug output\r | |
29 | DEFINE DEBUG_PROPERTY_MASK = 0\r | |
30 | \r | |
2aa62f2b | 31 | [PcdsFeatureFlag]\r |
32 | \r | |
33 | [PcdsFixedAtBuild]\r | |
86e9f87e LL |
34 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|$(DEBUG_PROPERTY_MASK)\r |
35 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)\r | |
2aa62f2b | 36 | \r |
2aa62f2b | 37 | [LibraryClasses]\r |
38 | #\r | |
39 | # Entry Point Libraries\r | |
40 | #\r | |
41 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf\r | |
42 | ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf\r | |
4684b66f | 43 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf\r |
2aa62f2b | 44 | #\r |
45 | # Common Libraries\r | |
46 | #\r | |
47 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf\r | |
48 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf\r | |
49 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf\r | |
50 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf\r | |
51 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf\r | |
52 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r | |
53 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r | |
54 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r | |
86e9f87e LL |
55 | !if $(DEBUG_ENABLE_OUTPUT)\r |
56 | DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r | |
57 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r | |
58 | !else ## DEBUG_ENABLE_OUTPUT\r | |
59 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r | |
60 | !endif ## DEBUG_ENABLE_OUTPUT\r | |
d78fab6b | 61 | \r |
2aa62f2b | 62 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r |
63 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r | |
64 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r | |
65 | PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf\r | |
66 | PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf\r | |
67 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf\r | |
68 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf\r | |
69 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf\r | |
70 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r | |
71 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r | |
72 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r | |
6a013e50 DM |
73 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r |
74 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r | |
4684b66f | 75 | \r |
2aa62f2b | 76 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r |
2aa62f2b | 77 | \r |
b410d6e4 | 78 | CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r |
79 | \r | |
2aa62f2b | 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 | \r |
101 | #### Sample Applications.\r | |
102 | AppPkg/Applications/Hello/Hello.inf # No LibC includes or functions.\r | |
103 | AppPkg/Applications/Main/Main.inf # Simple invocation. No other LibC functions.\r | |
d78fab6b | 104 | AppPkg/Applications/Enquire/Enquire.inf #\r |
c9f4d483 | 105 | AppPkg/Applications/ArithChk/ArithChk.inf #\r |
af9c2a56 | 106 | \r |
424d8455 LE |
107 | #### A simple fuzzer for OrderedCollectionLib, in particular for\r |
108 | #### BaseOrderedCollectionRedBlackTreeLib.\r | |
109 | AppPkg/Applications/OrderedCollectionTest/OrderedCollectionTest.inf {\r | |
110 | <LibraryClasses>\r | |
111 | OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r | |
112 | DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r | |
113 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r | |
114 | <PcdsFeatureFlag>\r | |
115 | gEfiMdePkgTokenSpaceGuid.PcdValidateOrderedCollection|TRUE\r | |
116 | <PcdsFixedAtBuild>\r | |
117 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r | |
118 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80400040\r | |
119 | }\r | |
120 | \r | |
d11973f1 | 121 | #### Un-comment the following line to build Python 2.7.2.\r |
af9c2a56 | 122 | # AppPkg/Applications/Python/PythonCore.inf\r |
2aa62f2b | 123 | \r |
d11973f1 DM |
124 | #### Un-comment the following line to build Python 2.7.10.\r |
125 | # AppPkg/Applications/Python/Python-2.7.10/Python2710.inf\r | |
126 | \r | |
16a5fed6 | 127 | #### Un-comment the following line to build Lua.\r |
6b980b67 | 128 | # AppPkg/Applications/Lua/Lua.inf\r |
16a5fed6 | 129 | \r |
4684b66f | 130 | \r |
274402de | 131 | ##############################################################################\r |
2aa62f2b | 132 | #\r |
63f31618 | 133 | # Specify whether we are running in an emulation environment, or not.\r |
b410d6e4 | 134 | # Define EMULATE if we are, else keep the DEFINE commented out.\r |
63f31618 | 135 | #\r |
b410d6e4 | 136 | # DEFINE EMULATE = 1\r |
63f31618 | 137 | \r |
b410d6e4 | 138 | ##############################################################################\r |
139 | #\r | |
140 | # Include Boilerplate text required for building with the Standard Libraries.\r | |
141 | #\r | |
142 | ##############################################################################\r | |
4684b66f | 143 | !include StdLib/StdLib.inc\r |
b410d6e4 | 144 | !include AppPkg/Applications/Sockets/Sockets.inc\r |