AppPkg.dsc 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  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. # 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. [Defines]
  20. PLATFORM_NAME = AppPkg
  21. PLATFORM_GUID = 0458dade-8b6e-4e45-b773-1b27cbda3e06
  22. PLATFORM_VERSION = 0.01
  23. DSC_SPECIFICATION = 0x00010006
  24. OUTPUT_DIRECTORY = Build/AppPkg
  25. SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64
  26. BUILD_TARGETS = DEBUG|RELEASE|NOOPT
  27. SKUID_IDENTIFIER = DEFAULT
  28. #
  29. # Debug output control
  30. #
  31. DEFINE DEBUG_ENABLE_OUTPUT = FALSE # Set to TRUE to enable debug output
  32. DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x80000040 # Flags to control amount of debug output
  33. DEFINE DEBUG_PROPERTY_MASK = 0
  34. [PcdsFeatureFlag]
  35. [PcdsFixedAtBuild]
  36. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|$(DEBUG_PROPERTY_MASK)
  37. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)
  38. [LibraryClasses]
  39. #
  40. # Entry Point Libraries
  41. #
  42. UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf
  43. ShellCEntryLib|ShellPkg/Library/UefiShellCEntryLib/UefiShellCEntryLib.inf
  44. UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf
  45. #
  46. # Common Libraries
  47. #
  48. BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
  49. BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
  50. UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
  51. PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
  52. PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf
  53. MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
  54. UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
  55. UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
  56. !if $(DEBUG_ENABLE_OUTPUT)
  57. DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
  58. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  59. !else ## DEBUG_ENABLE_OUTPUT
  60. DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
  61. !endif ## DEBUG_ENABLE_OUTPUT
  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. ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
  76. CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
  77. ###################################################################################################
  78. #
  79. # Components Section - list of the modules and components that will be processed by compilation
  80. # tools and the EDK II tools to generate PE32/PE32+/Coff image files.
  81. #
  82. # Note: The EDK II DSC file is not used to specify how compiled binary images get placed
  83. # into firmware volume images. This section is just a list of modules to compile from
  84. # source into UEFI-compliant binaries.
  85. # It is the FDF file that contains information on combining binary files into firmware
  86. # volume images, whose concept is beyond UEFI and is described in PI specification.
  87. # Binary modules do not need to be listed in this section, as they should be
  88. # specified in the FDF file. For example: Shell binary (Shell_Full.efi), FAT binary (Fat.efi),
  89. # Logo (Logo.bmp), and etc.
  90. # There may also be modules listed in this section that are not required in the FDF file,
  91. # When a module listed here is excluded from FDF file, then UEFI-compliant binary will be
  92. # generated for it, but the binary will not be put into any firmware volume.
  93. #
  94. ###################################################################################################
  95. [Components]
  96. #### Sample Applications.
  97. AppPkg/Applications/Hello/Hello.inf # No LibC includes or functions.
  98. AppPkg/Applications/Main/Main.inf # Simple invocation. No other LibC functions.
  99. AppPkg/Applications/Enquire/Enquire.inf #
  100. AppPkg/Applications/ArithChk/ArithChk.inf #
  101. #### A simple fuzzer for OrderedCollectionLib, in particular for
  102. #### BaseOrderedCollectionRedBlackTreeLib.
  103. AppPkg/Applications/OrderedCollectionTest/OrderedCollectionTest.inf {
  104. <LibraryClasses>
  105. OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
  106. DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
  107. DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
  108. <PcdsFeatureFlag>
  109. gEfiMdePkgTokenSpaceGuid.PcdValidateOrderedCollection|TRUE
  110. <PcdsFixedAtBuild>
  111. gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
  112. gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80400040
  113. }
  114. #### Un-comment the following line to build Python 2.7.2.
  115. # AppPkg/Applications/Python/PythonCore.inf
  116. #### Un-comment the following line to build Python 2.7.10.
  117. # AppPkg/Applications/Python/Python-2.7.10/Python2710.inf
  118. #### Un-comment the following line to build Lua.
  119. # AppPkg/Applications/Lua/Lua.inf
  120. ##############################################################################
  121. #
  122. # Specify whether we are running in an emulation environment, or not.
  123. # Define EMULATE if we are, else keep the DEFINE commented out.
  124. #
  125. # DEFINE EMULATE = 1
  126. ##############################################################################
  127. #
  128. # Include Boilerplate text required for building with the Standard Libraries.
  129. #
  130. ##############################################################################
  131. !include StdLib/StdLib.inc
  132. !include AppPkg/Applications/Sockets/Sockets.inc