X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=AppPkg%2FAppPkg.dsc;h=58bc84e4ed365c40e89f693d0ff5c7ab7754c209;hb=f932073831f5af526d94c4dc11e4ed9737630eef;hp=15cb26fa688fd034527c7f8bd8e9c0ffecad5253;hpb=8072b5973bdcf65916126714151cf4a18a7a1735;p=mirror_edk2.git
diff --git a/AppPkg/AppPkg.dsc b/AppPkg/AppPkg.dsc
index 15cb26fa68..58bc84e4ed 100644
--- a/AppPkg/AppPkg.dsc
+++ b/AppPkg/AppPkg.dsc
@@ -7,7 +7,7 @@
# for important information about configuring this package for your
# environment.
#
-# Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.
+# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distribution. The full text of the license may be found at
@@ -23,15 +23,22 @@
PLATFORM_VERSION = 0.01
DSC_SPECIFICATION = 0x00010006
OUTPUT_DIRECTORY = Build/AppPkg
- SUPPORTED_ARCHITECTURES = IA32|IPF|X64
- BUILD_TARGETS = DEBUG|RELEASE
+ SUPPORTED_ARCHITECTURES = IA32|X64|ARM|AARCH64
+ BUILD_TARGETS = DEBUG|RELEASE|NOOPT
SKUID_IDENTIFIER = DEFAULT
+#
+# Debug output control
+#
+ DEFINE DEBUG_ENABLE_OUTPUT = FALSE # Set to TRUE to enable debug output
+ DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x80000040 # Flags to control amount of debug output
+ DEFINE DEBUG_PROPERTY_MASK = 0
+
[PcdsFeatureFlag]
[PcdsFixedAtBuild]
- gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0f
- gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000000
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|$(DEBUG_PROPERTY_MASK)
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|$(DEBUG_PRINT_ERROR_LEVEL)
[PcdsFixedAtBuild.IPF]
@@ -53,7 +60,13 @@
MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf
UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
- DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
+ !if $(DEBUG_ENABLE_OUTPUT)
+ DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
+ DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
+ !else ## DEBUG_ENABLE_OUTPUT
+ DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
+ !endif ## DEBUG_ENABLE_OUTPUT
+
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf
PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf
IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf
@@ -65,11 +78,12 @@
UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
PerformanceLib|MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
HobLib|MdePkg/Library/DxeHobLib/DxeHobLib.inf
+ FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
+ SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
- FileHandleLib|ShellPkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
- SortLib|ShellPkg/Library/UefiSortLib/UefiSortLib.inf
- PathLib|ShellPkg/Library/BasePathLib/BasePathLib.inf
+
+ CacheMaintenanceLib|MdePkg/Library/BaseCacheMaintenanceLib/BaseCacheMaintenanceLib.inf
###################################################################################################
#
@@ -95,33 +109,39 @@
#### Sample Applications.
AppPkg/Applications/Hello/Hello.inf # No LibC includes or functions.
AppPkg/Applications/Main/Main.inf # Simple invocation. No other LibC functions.
- AppPkg/Applications/Enquire/Enquire.inf
+ AppPkg/Applications/Enquire/Enquire.inf #
+ AppPkg/Applications/ArithChk/ArithChk.inf #
+
+#### A simple fuzzer for OrderedCollectionLib, in particular for
+#### BaseOrderedCollectionRedBlackTreeLib.
+ AppPkg/Applications/OrderedCollectionTest/OrderedCollectionTest.inf {
+
+ OrderedCollectionLib|MdePkg/Library/BaseOrderedCollectionRedBlackTreeLib/BaseOrderedCollectionRedBlackTreeLib.inf
+ DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
+ DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf
+
+ gEfiMdePkgTokenSpaceGuid.PcdValidateOrderedCollection|TRUE
+
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F
+ gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80400040
+ }
-#### After extracting the Python distribution, un-comment the following line to build Python.
+#### Un-comment the following line to build Python 2.7.2.
# AppPkg/Applications/Python/PythonCore.inf
-##########
-# Socket Applications - LibC based
-##########
-# AppPkg/Applications/Sockets/DataSink/DataSink.inf
-# AppPkg/Applications/Sockets/DataSource/DataSource.inf
-# SocketPkg/Application/FtpNew/FTP.inf
-# AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.inf
-# AppPkg/Applications/Sockets/GetHostByDns/GetHostByDns.inf
-# AppPkg/Applications/Sockets/GetHostByName/GetHostByName.inf
-# AppPkg/Applications/Sockets/GetNetByAddr/GetNetByAddr.inf
-# AppPkg/Applications/Sockets/GetNetByName/GetNetByName.inf
-# AppPkg/Applications/Sockets/GetServByName/GetServByName.inf
-# AppPkg/Applications/Sockets/GetServByPort/GetServByPort.inf
-# AppPkg/Applications/Sockets/RecvDgram/RecvDgram.inf
-# SocketPkg/Application/route/route.inf
-# AppPkg/Applications/Sockets/SetHostName/SetHostName.inf
-# AppPkg/Applications/Sockets/SetSockOpt/SetSockOpt.inf
-# AppPkg/Applications/Sockets/TftpServer/TftpServer.inf
-# AppPkg/Applications/Sockets/WebServer/WebServer.inf {
-#
-# gStdLibTokenSpaceGuid.WebServer_HttpPort|80
-# }
+#### Un-comment the following line to build Python 2.7.10.
+# AppPkg/Applications/Python/Python-2.7.10/Python2710.inf
+
+#### Un-comment the following line to build Lua.
+# AppPkg/Applications/Lua/Lua.inf
+
+
+##############################################################################
+#
+# Specify whether we are running in an emulation environment, or not.
+# Define EMULATE if we are, else keep the DEFINE commented out.
+#
+# DEFINE EMULATE = 1
##############################################################################
#
@@ -129,3 +149,4 @@
#
##############################################################################
!include StdLib/StdLib.inc
+!include AppPkg/Applications/Sockets/Sockets.inc