]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/AppPkg.dsc
BaseTools/BinToPcd: Fix Python 2.7.x compatibility issue
[mirror_edk2.git] / AppPkg / AppPkg.dsc
index 15cb26fa688fd034527c7f8bd8e9c0ffecad5253..a4ea6630df8c0b7ed3dc3e8125c627402e184df6 100644 (file)
@@ -7,7 +7,7 @@
 #   for important information about configuring this package for your\r
 #   environment.\r
 #\r
-#   Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
+#   Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>\r
 #   This program and the accompanying materials\r
 #   are licensed and made available under the terms and conditions of the BSD License\r
 #   which accompanies this distribution. The full text of the license may be found at\r
   PLATFORM_VERSION               = 0.01\r
   DSC_SPECIFICATION              = 0x00010006\r
   OUTPUT_DIRECTORY               = Build/AppPkg\r
-  SUPPORTED_ARCHITECTURES        = IA32|IPF|X64\r
-  BUILD_TARGETS                  = DEBUG|RELEASE\r
+  SUPPORTED_ARCHITECTURES        = IA32|X64|ARM|AARCH64\r
+  BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT\r
   SKUID_IDENTIFIER               = DEFAULT\r
 \r
+#\r
+#  Debug output control\r
+#\r
+  DEFINE DEBUG_ENABLE_OUTPUT      = FALSE       # Set to TRUE to enable debug output\r
+  DEFINE DEBUG_PRINT_ERROR_LEVEL  = 0x80000040  # Flags to control amount of debug output\r
+  DEFINE DEBUG_PROPERTY_MASK      = 0\r
+\r
 [PcdsFeatureFlag]\r
 \r
 [PcdsFixedAtBuild]\r
-  gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f\r
-  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000\r
-\r
-[PcdsFixedAtBuild.IPF]\r
+  gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|$(DEBUG_PROPERTY_MASK)\r
+  gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)\r
 \r
 [LibraryClasses]\r
   #\r
   MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf\r
   UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf\r
   UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf\r
-  DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
+  !if $(DEBUG_ENABLE_OUTPUT)\r
+    DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
+    DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
+  !else   ## DEBUG_ENABLE_OUTPUT\r
+    DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf\r
+  !endif  ## DEBUG_ENABLE_OUTPUT\r
+\r
   DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf\r
   PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf\r
   IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf\r
   UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf\r
   PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf\r
   HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf\r
+  FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
+  SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf\r
 \r
   ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf\r
-  FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf\r
-  SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf\r
-  PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf\r
+\r
+  CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf\r
 \r
 ###################################################################################################\r
 #\r
 #### Sample Applications.\r
   AppPkg/Applications/Hello/Hello.inf        # No LibC includes or functions.\r
   AppPkg/Applications/Main/Main.inf          # Simple invocation. No other LibC functions.\r
-  AppPkg/Applications/Enquire/Enquire.inf\r
+  AppPkg/Applications/Enquire/Enquire.inf    #\r
+  AppPkg/Applications/ArithChk/ArithChk.inf  #\r
+\r
+#### A simple fuzzer for OrderedCollectionLib, in particular for\r
+#### BaseOrderedCollectionRedBlackTreeLib.\r
+  AppPkg/Applications/OrderedCollectionTest/OrderedCollectionTest.inf {\r
+    <LibraryClasses>\r
+      OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf\r
+      DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf\r
+      DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf\r
+    <PcdsFeatureFlag>\r
+      gEfiMdePkgTokenSpaceGuid.PcdValidateOrderedCollection|TRUE\r
+    <PcdsFixedAtBuild>\r
+      gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F\r
+      gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80400040\r
+  }\r
 \r
-#### After extracting the Python distribution, un-comment the following line to build Python.\r
+#### Un-comment the following line to build Python 2.7.2.\r
 #  AppPkg/Applications/Python/PythonCore.inf\r
 \r
-##########\r
-#    Socket Applications - LibC based\r
-##########\r
-#  AppPkg/Applications/Sockets/DataSink/DataSink.inf\r
-#  AppPkg/Applications/Sockets/DataSource/DataSource.inf\r
-#  SocketPkg/Application/FtpNew/FTP.inf\r
-#  AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.inf\r
-#  AppPkg/Applications/Sockets/GetHostByDns/GetHostByDns.inf\r
-#  AppPkg/Applications/Sockets/GetHostByName/GetHostByName.inf\r
-#  AppPkg/Applications/Sockets/GetNetByAddr/GetNetByAddr.inf\r
-#  AppPkg/Applications/Sockets/GetNetByName/GetNetByName.inf\r
-#  AppPkg/Applications/Sockets/GetServByName/GetServByName.inf\r
-#  AppPkg/Applications/Sockets/GetServByPort/GetServByPort.inf\r
-#  AppPkg/Applications/Sockets/RecvDgram/RecvDgram.inf\r
-#  SocketPkg/Application/route/route.inf\r
-#  AppPkg/Applications/Sockets/SetHostName/SetHostName.inf\r
-#  AppPkg/Applications/Sockets/SetSockOpt/SetSockOpt.inf\r
-#  AppPkg/Applications/Sockets/TftpServer/TftpServer.inf\r
-#  AppPkg/Applications/Sockets/WebServer/WebServer.inf {\r
-#    <PcdsFixedAtBuild>\r
-#      gStdLibTokenSpaceGuid.WebServer_HttpPort|80\r
-#  }\r
+#### Un-comment the following line to build Python 2.7.10.\r
+# AppPkg/Applications/Python/Python-2.7.10/Python2710.inf\r
+\r
+#### Un-comment the following line to build Lua.\r
+#  AppPkg/Applications/Lua/Lua.inf\r
+\r
+\r
+##############################################################################\r
+#\r
+# Specify whether we are running in an emulation environment, or not.\r
+# Define EMULATE if we are, else keep the DEFINE commented out.\r
+#\r
+# DEFINE  EMULATE = 1\r
 \r
 ##############################################################################\r
 #\r
 #\r
 ##############################################################################\r
 !include StdLib/StdLib.inc\r
+!include AppPkg/Applications/Sockets/Sockets.inc\r