## @file\r
# Cryptographic Library Package for UEFI Security Implementation.\r
#\r
-# Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2009 - 2015, 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
[Defines]\r
PLATFORM_NAME = CryptoPkg\r
PLATFORM_GUID = E1063286-6C8C-4c25-AEF0-67A9A5B6E6B6\r
- PLATFORM_VERSION = 0.91\r
+ PLATFORM_VERSION = 0.96\r
DSC_SPECIFICATION = 0x00010005\r
OUTPUT_DIRECTORY = Build/CryptoPkg\r
- SUPPORTED_ARCHITECTURES = IA32|X64|IPF|EBC|ARM\r
+ SUPPORTED_ARCHITECTURES = IA32|X64|IPF|ARM|AARCH64\r
BUILD_TARGETS = DEBUG|RELEASE\r
SKUID_IDENTIFIER = DEFAULT\r
\r
IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf\r
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf\r
\r
-[LibraryClasses.ARM]\r
+[LibraryClasses.ARM, LibraryClasses.AARCH64]\r
#\r
# It is not possible to prevent the ARM compiler for generic intrinsic functions.\r
# This library provides the instrinsic functions generate by a given compiler.\r
- # [LibraryClasses.ARM] and NULL mean link this library into all ARM images.\r
+ # [LibraryClasses.ARM, LibraryClasses.AARCH64] and NULL mean link this library\r
+ # into all ARM and AARCH64 images.\r
#\r
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf\r
\r
+ # 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.DXE_RUNTIME_DRIVER]\r
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf\r
\r
+[LibraryClasses.common.DXE_SMM_DRIVER]\r
+ BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf\r
+\r
[LibraryClasses.common.DXE_SAL_DRIVER]\r
BaseCryptLib|CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/BaseCryptLibRuntimeCryptProtocol.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