]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/CryptoPkg.dsc
CryptoPkg: Add new TlsLib library
[mirror_edk2.git] / CryptoPkg / CryptoPkg.dsc
index 19a0fbcf4361c0bfa50af0bfa0acdf3369af12cc..468e60b5b1b5a94fa72aa0aa4d7d0f76e2da0ce6 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 #  Cryptographic Library Package for UEFI Security Implementation.\r
 #\r
-#  Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>\r
+#  Copyright (c) 2009 - 2016, 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
@@ -24,7 +24,7 @@
   DSC_SPECIFICATION              = 0x00010005\r
   OUTPUT_DIRECTORY               = Build/CryptoPkg\r
   SUPPORTED_ARCHITECTURES        = IA32|X64|IPF|ARM|AARCH64\r
-  BUILD_TARGETS                  = DEBUG|RELEASE\r
+  BUILD_TARGETS                  = DEBUG|RELEASE|NOOPT\r
   SKUID_IDENTIFIER               = DEFAULT\r
 \r
 ################################################################################\r
@@ -63,6 +63,9 @@
   # Add support for stack protector\r
   NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf\r
 \r
+[LibraryClasses.ARM]\r
+  ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf\r
+\r
 [LibraryClasses.common.PEIM]\r
   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
 \r
 [LibraryClasses.common.UEFI_APPLICATION]\r
   BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
 \r
-###############################################################################\r
-#\r
-# BuildOptions Section - Define the module specific tool chain flags that\r
-#                        should be used as the default flags for a module.\r
-#                        These flags are appended to any standard flags that\r
-#                        are defined by the build process.\r
-#\r
-# -JCryptoPkg/Include : To disable the use of the system includes provided by\r
-#                       the RVCT toolchain.\r
-# --diag_remark=1     : To make the warning "#1-D: last line of file ends\r
-#                       without a newline" just a remark such that the\r
-#                       build doesn't stop as warnings are considered as\r
-#                       errors.\r
-#\r
-################################################################################\r
-[BuildOptions]\r
-RVCT:*_*_ARM_CC_FLAGS = -JCryptoPkg/Include --diag_remark=1\r
-\r
 ################################################################################\r
 #\r
 # Pcd Section - list of all EDK II PCD Entries defined by this Platform\r
@@ -138,6 +123,7 @@ RVCT:*_*_ARM_CC_FLAGS = -JCryptoPkg/Include --diag_remark=1
   CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf\r
   CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf\r
   CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
+  CryptoPkg/Library/TlsLib/TlsLib.inf\r
 \r
   CryptoPkg/Application/Cryptest/Cryptest.inf\r
 \r
@@ -148,3 +134,6 @@ RVCT:*_*_ARM_CC_FLAGS = -JCryptoPkg/Include --diag_remark=1
 \r
 [Components.IPF]\r
   CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/BaseCryptLibRuntimeCryptProtocol.inf\r
+\r
+[BuildOptions]\r
+  *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES\r