darylm503 | 2aa62f2 | 2011-04-27 21:42:16 +0000 | [diff] [blame] | 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 | #
|
daryl.mcdaniel | c9f4d48 | 2014-09-09 22:37:02 +0000 | [diff] [blame] | 10 | # Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
|
darylm503 | 2aa62f2 | 2011-04-27 21:42:16 +0000 | [diff] [blame] | 11 | # This program and the accompanying materials
|
| 12 | # are licensed and made available under the terms and conditions of the BSD License
|
| 13 | # which accompanies this distribution. The full text of the license may be found at
|
| 14 | # http://opensource.org/licenses/bsd-license.
|
| 15 | #
|
| 16 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
| 17 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
| 18 | ##
|
| 19 |
|
| 20 | [Defines]
|
| 21 | PLATFORM_NAME = AppPkg
|
| 22 | PLATFORM_GUID = 0458dade-8b6e-4e45-b773-1b27cbda3e06
|
| 23 | PLATFORM_VERSION = 0.01
|
| 24 | DSC_SPECIFICATION = 0x00010006
|
| 25 | OUTPUT_DIRECTORY = Build/AppPkg
|
Daryl McDaniel | 4b2cf92 | 2014-11-11 22:56:58 +0000 | [diff] [blame] | 26 | SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64
|
| 27 | BUILD_TARGETS = DEBUG|RELEASE|NOOPT
|
darylm503 | 2aa62f2 | 2011-04-27 21:42:16 +0000 | [diff] [blame] | 28 | SKUID_IDENTIFIER = DEFAULT
|
| 29 |
|
Lee Leahy | 86e9f87 | 2013-11-19 02:37:37 +0000 | [diff] [blame] | 30 | #
|
| 31 | # Debug output control
|
| 32 | #
|
| 33 | DEFINE DEBUG_ENABLE_OUTPUT = FALSE # Set to TRUE to enable debug output
|
| 34 | DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x80000040 # Flags to control amount of debug output
|
| 35 | DEFINE DEBUG_PROPERTY_MASK = 0
|
| 36 |
|
darylm503 | 2aa62f2 | 2011-04-27 21:42:16 +0000 | [diff] [blame] | 37 | [PcdsFeatureFlag]
|
| 38 |
|
| 39 | [PcdsFixedAtBuild]
|
Lee Leahy | 86e9f87 | 2013-11-19 02:37:37 +0000 | [diff] [blame] | 40 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|$(DEBUG_PROPERTY_MASK)
|
| 41 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)
|
darylm503 | 2aa62f2 | 2011-04-27 21:42:16 +0000 | [diff] [blame] | 42 |
|
| 43 | [PcdsFixedAtBuild.IPF]
|
| 44 |
|
| 45 | [LibraryClasses]
|
| 46 | #
|
| 47 | # Entry Point Libraries
|
| 48 | #
|
| 49 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
|
| 50 | ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
|
darylm503 | 4684b66 | 2011-07-30 00:32:15 +0000 | [diff] [blame] | 51 | UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
|
darylm503 | 2aa62f2 | 2011-04-27 21:42:16 +0000 | [diff] [blame] | 52 | #
|
| 53 | # Common Libraries
|
| 54 | #
|
| 55 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
|
| 56 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
|
| 57 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
|
| 58 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
|
| 59 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
|
| 60 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
|
| 61 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
|
| 62 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
|
Lee Leahy | 86e9f87 | 2013-11-19 02:37:37 +0000 | [diff] [blame] | 63 | !if $(DEBUG_ENABLE_OUTPUT)
|
| 64 | DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
|
| 65 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
| 66 | !else ## DEBUG_ENABLE_OUTPUT
|
| 67 | DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
| 68 | !endif ## DEBUG_ENABLE_OUTPUT
|
darylm503 | d78fab6 | 2012-03-24 01:19:06 +0000 | [diff] [blame] | 69 |
|
darylm503 | 2aa62f2 | 2011-04-27 21:42:16 +0000 | [diff] [blame] | 70 | DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
|
| 71 | PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
|
| 72 | IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
|
| 73 | PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf
|
| 74 | PciCf8Lib|MdePkg/Library/BasePciCf8Lib/BasePciCf8Lib.inf
|
| 75 | SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
|
| 76 | UefiRuntimeLib|MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf
|
| 77 | HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf
|
| 78 | UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
|
| 79 | PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
|
| 80 | HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
|
Daryl McDaniel | 6a013e5 | 2015-01-13 23:35:33 +0000 | [diff] [blame] | 81 | FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
|
| 82 | SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
|
darylm503 | 4684b66 | 2011-07-30 00:32:15 +0000 | [diff] [blame] | 83 |
|
darylm503 | 2aa62f2 | 2011-04-27 21:42:16 +0000 | [diff] [blame] | 84 | ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
|
darylm503 | 2aa62f2 | 2011-04-27 21:42:16 +0000 | [diff] [blame] | 85 |
|
darylm503 | b410d6e | 2012-01-26 22:04:41 +0000 | [diff] [blame] | 86 | CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
|
| 87 |
|
darylm503 | 2aa62f2 | 2011-04-27 21:42:16 +0000 | [diff] [blame] | 88 | ###################################################################################################
|
| 89 | #
|
| 90 | # Components Section - list of the modules and components that will be processed by compilation
|
| 91 | # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
|
| 92 | #
|
| 93 | # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
|
| 94 | # into firmware volume images. This section is just a list of modules to compile from
|
| 95 | # source into UEFI-compliant binaries.
|
| 96 | # It is the FDF file that contains information on combining binary files into firmware
|
| 97 | # volume images, whose concept is beyond UEFI and is described in PI specification.
|
| 98 | # Binary modules do not need to be listed in this section, as they should be
|
| 99 | # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
|
| 100 | # Logo (Logo.bmp), and etc.
|
| 101 | # There may also be modules listed in this section that are not required in the FDF file,
|
| 102 | # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
|
| 103 | # generated for it, but the binary will not be put into any firmware volume.
|
| 104 | #
|
| 105 | ###################################################################################################
|
| 106 |
|
| 107 | [Components]
|
darylm503 | 2aa62f2 | 2011-04-27 21:42:16 +0000 | [diff] [blame] | 108 |
|
| 109 | #### Sample Applications.
|
| 110 | AppPkg/Applications/Hello/Hello.inf # No LibC includes or functions.
|
| 111 | AppPkg/Applications/Main/Main.inf # Simple invocation. No other LibC functions.
|
darylm503 | d78fab6 | 2012-03-24 01:19:06 +0000 | [diff] [blame] | 112 | AppPkg/Applications/Enquire/Enquire.inf #
|
daryl.mcdaniel | c9f4d48 | 2014-09-09 22:37:02 +0000 | [diff] [blame] | 113 | AppPkg/Applications/ArithChk/ArithChk.inf #
|
darylm503 | af9c2a5 | 2011-06-29 18:16:01 +0000 | [diff] [blame] | 114 |
|
Laszlo Ersek | 424d845 | 2014-08-12 07:29:17 +0000 | [diff] [blame] | 115 | #### A simple fuzzer for OrderedCollectionLib, in particular for
|
| 116 | #### BaseOrderedCollectionRedBlackTreeLib.
|
| 117 | AppPkg/Applications/OrderedCollectionTest/OrderedCollectionTest.inf {
|
| 118 | <LibraryClasses>
|
| 119 | OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
|
| 120 | DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
|
| 121 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
|
| 122 | <PcdsFeatureFlag>
|
| 123 | gEfiMdePkgTokenSpaceGuid.PcdValidateOrderedCollection|TRUE
|
| 124 | <PcdsFixedAtBuild>
|
| 125 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
|
| 126 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80400040
|
| 127 | }
|
| 128 |
|
daryl.mcdaniel | c9f4d48 | 2014-09-09 22:37:02 +0000 | [diff] [blame] | 129 | #### Un-comment the following line to build Python.
|
darylm503 | af9c2a5 | 2011-06-29 18:16:01 +0000 | [diff] [blame] | 130 | # AppPkg/Applications/Python/PythonCore.inf
|
darylm503 | 2aa62f2 | 2011-04-27 21:42:16 +0000 | [diff] [blame] | 131 |
|
darylm503 | 16a5fed | 2014-11-07 20:18:01 +0000 | [diff] [blame] | 132 | #### Un-comment the following line to build Lua.
|
Daryl McDaniel | 6b980b6 | 2014-11-11 23:15:32 +0000 | [diff] [blame] | 133 | # AppPkg/Applications/Lua/Lua.inf
|
darylm503 | 16a5fed | 2014-11-07 20:18:01 +0000 | [diff] [blame] | 134 |
|
darylm503 | b410d6e | 2012-01-26 22:04:41 +0000 | [diff] [blame] | 135 |
|
| 136 | ##############################################################################
|
| 137 | #
|
| 138 | # Specify whether we are running in an emulation environment, or not.
|
| 139 | # Define EMULATE if we are, else keep the DEFINE commented out.
|
| 140 | #
|
| 141 | # DEFINE EMULATE = 1
|
darylm503 | 4684b66 | 2011-07-30 00:32:15 +0000 | [diff] [blame] | 142 |
|
darylm503 | 274402d | 2011-08-02 23:09:06 +0000 | [diff] [blame] | 143 | ##############################################################################
|
darylm503 | 2aa62f2 | 2011-04-27 21:42:16 +0000 | [diff] [blame] | 144 | #
|
darylm503 | 274402d | 2011-08-02 23:09:06 +0000 | [diff] [blame] | 145 | # Include Boilerplate text required for building with the Standard Libraries.
|
darylm503 | 2aa62f2 | 2011-04-27 21:42:16 +0000 | [diff] [blame] | 146 | #
|
darylm503 | 274402d | 2011-08-02 23:09:06 +0000 | [diff] [blame] | 147 | ##############################################################################
|
darylm503 | 4684b66 | 2011-07-30 00:32:15 +0000 | [diff] [blame] | 148 | !include StdLib/StdLib.inc
|
darylm503 | b410d6e | 2012-01-26 22:04:41 +0000 | [diff] [blame] | 149 | !include AppPkg/Applications/Sockets/Sockets.inc
|