mirror of https://github.com/acidanthera/audk.git
CryptoPkg: Add support of AARCH64 architecture
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ronald Cron <ronald.cron@arm.com> Reviewed-By: Olivier Martin <olivier.martin@arm.com> Reviewed-By: Long, Qin <qin.long@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15913 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
bccc877842
commit
d1984abcb9
|
@ -23,7 +23,7 @@
|
||||||
PLATFORM_VERSION = 0.93
|
PLATFORM_VERSION = 0.93
|
||||||
DSC_SPECIFICATION = 0x00010005
|
DSC_SPECIFICATION = 0x00010005
|
||||||
OUTPUT_DIRECTORY = Build/CryptoPkg
|
OUTPUT_DIRECTORY = Build/CryptoPkg
|
||||||
SUPPORTED_ARCHITECTURES = IA32|X64|IPF|ARM
|
SUPPORTED_ARCHITECTURES = IA32|X64|IPF|ARM|AARCH64
|
||||||
BUILD_TARGETS = DEBUG|RELEASE
|
BUILD_TARGETS = DEBUG|RELEASE
|
||||||
SKUID_IDENTIFIER = DEFAULT
|
SKUID_IDENTIFIER = DEFAULT
|
||||||
|
|
||||||
|
@ -51,11 +51,12 @@
|
||||||
IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
|
IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
|
||||||
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
|
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
|
||||||
|
|
||||||
[LibraryClasses.ARM]
|
[LibraryClasses.ARM, LibraryClasses.AARCH64]
|
||||||
#
|
#
|
||||||
# It is not possible to prevent the ARM compiler for generic intrinsic functions.
|
# It is not possible to prevent the ARM compiler for generic intrinsic functions.
|
||||||
# This library provides the instrinsic functions generate by a given compiler.
|
# This library provides the instrinsic functions generate by a given compiler.
|
||||||
# [LibraryClasses.ARM] and NULL mean link this library into all ARM images.
|
# [LibraryClasses.ARM, LibraryClasses.AARCH64] and NULL mean link this library
|
||||||
|
# into all ARM and AARCH64 images.
|
||||||
#
|
#
|
||||||
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#
|
#
|
||||||
# The following information is for reference only and not required by the build tools.
|
# The following information is for reference only and not required by the build tools.
|
||||||
#
|
#
|
||||||
# VALID_ARCHITECTURES = IA32 X64 IPF ARM
|
# VALID_ARCHITECTURES = IA32 X64 IPF ARM AARCH64
|
||||||
#
|
#
|
||||||
|
|
||||||
[Sources]
|
[Sources]
|
||||||
|
@ -85,6 +85,9 @@
|
||||||
[Sources.ARM]
|
[Sources.ARM]
|
||||||
Rand/CryptRand.c
|
Rand/CryptRand.c
|
||||||
|
|
||||||
|
[Sources.AARCH64]
|
||||||
|
Rand/CryptRand.c
|
||||||
|
|
||||||
[Packages]
|
[Packages]
|
||||||
MdePkg/MdePkg.dec
|
MdePkg/MdePkg.dec
|
||||||
CryptoPkg/CryptoPkg.dec
|
CryptoPkg/CryptoPkg.dec
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#
|
#
|
||||||
# The following information is for reference only and not required by the build tools.
|
# The following information is for reference only and not required by the build tools.
|
||||||
#
|
#
|
||||||
# VALID_ARCHITECTURES = IA32 X64 IPF ARM
|
# VALID_ARCHITECTURES = IA32 X64 IPF ARM AARCH64
|
||||||
#
|
#
|
||||||
|
|
||||||
[Sources]
|
[Sources]
|
||||||
|
@ -90,6 +90,9 @@
|
||||||
[Sources.ARM]
|
[Sources.ARM]
|
||||||
Rand/CryptRand.c
|
Rand/CryptRand.c
|
||||||
|
|
||||||
|
[Sources.AARCH64]
|
||||||
|
Rand/CryptRand.c
|
||||||
|
|
||||||
[Packages]
|
[Packages]
|
||||||
MdePkg/MdePkg.dec
|
MdePkg/MdePkg.dec
|
||||||
CryptoPkg/CryptoPkg.dec
|
CryptoPkg/CryptoPkg.dec
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#
|
#
|
||||||
# The following information is for reference only and not required by the build tools.
|
# The following information is for reference only and not required by the build tools.
|
||||||
#
|
#
|
||||||
# VALID_ARCHITECTURES = IA32 X64
|
# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64
|
||||||
#
|
#
|
||||||
|
|
||||||
[Sources]
|
[Sources]
|
||||||
|
@ -90,6 +90,9 @@
|
||||||
[Sources.ARM]
|
[Sources.ARM]
|
||||||
Rand/CryptRand.c
|
Rand/CryptRand.c
|
||||||
|
|
||||||
|
[Sources.AARCH64]
|
||||||
|
Rand/CryptRand.c
|
||||||
|
|
||||||
[Packages]
|
[Packages]
|
||||||
MdePkg/MdePkg.dec
|
MdePkg/MdePkg.dec
|
||||||
CryptoPkg/CryptoPkg.dec
|
CryptoPkg/CryptoPkg.dec
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
#
|
#
|
||||||
# VALID_ARCHITECTURES = IA32 X64 IPF ARM
|
# VALID_ARCHITECTURES = IA32 X64 IPF ARM AARCH64
|
||||||
#
|
#
|
||||||
|
|
||||||
[Sources]
|
[Sources]
|
||||||
|
@ -657,6 +657,7 @@
|
||||||
GCC:*_*_X64_CC_FLAGS = -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) $(OPENSSL_EXFLAGS) -w -DSIXTY_FOUR_BIT
|
GCC:*_*_X64_CC_FLAGS = -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) $(OPENSSL_EXFLAGS) -w -DSIXTY_FOUR_BIT
|
||||||
GCC:*_*_IPF_CC_FLAGS = -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) $(OPENSSL_EXFLAGS) -w -DSIXTY_FOUR_BIT
|
GCC:*_*_IPF_CC_FLAGS = -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) $(OPENSSL_EXFLAGS) -w -DSIXTY_FOUR_BIT
|
||||||
GCC:*_*_ARM_CC_FLAGS = $(OPENSSL_FLAGS) $(OPENSSL_EXFLAGS) -w -DTHIRTY_TWO_BIT
|
GCC:*_*_ARM_CC_FLAGS = $(OPENSSL_FLAGS) $(OPENSSL_EXFLAGS) -w -DTHIRTY_TWO_BIT
|
||||||
|
GCC:*_*_AARCH64_CC_FLAGS = $(OPENSSL_FLAGS) $(OPENSSL_EXFLAGS) -w -DSIXTY_FOUR_BIT
|
||||||
|
|
||||||
# suppress the following warnings in openssl so we don't break the build with warnings-as-errors:
|
# suppress the following warnings in openssl so we don't break the build with warnings-as-errors:
|
||||||
# 1295: Deprecated declaration <entity> - give arg types
|
# 1295: Deprecated declaration <entity> - give arg types
|
||||||
|
|
Loading…
Reference in New Issue