summaryrefslogtreecommitdiff
path: root/Cryptlib
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2014-08-12 10:54:05 -0400
committerPeter Jones <pjones@redhat.com>2014-08-12 10:54:05 -0400
commit9196c7cfbc974dcfdc4f3bde09bf56f1a92723e9 (patch)
tree450436b525eb7ef30b80abd6492ca449014dda6b /Cryptlib
parentf7a182154e19e99e1eb88f5fe8111a37e68cda8e (diff)
downloadefi-boot-shim-9196c7cfbc974dcfdc4f3bde09bf56f1a92723e9.tar.gz
efi-boot-shim-9196c7cfbc974dcfdc4f3bde09bf56f1a92723e9.zip
Add support for 64-bit ARM (AArch64)
This adds support for building the shim for a 64-bit ARM UEFI environment. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'Cryptlib')
-rw-r--r--Cryptlib/OpenSSL/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Cryptlib/OpenSSL/Makefile b/Cryptlib/OpenSSL/Makefile
index 90975801..17b5695b 100644
--- a/Cryptlib/OpenSSL/Makefile
+++ b/Cryptlib/OpenSSL/Makefile
@@ -12,6 +12,9 @@ ifeq ($(ARCH),ia32)
CFLAGS += -mno-mmx -mno-sse -mno-red-zone -maccumulate-outgoing-args \
-m32 -DTHIRTY_TWO_BIT
endif
+ifeq ($(ARCH),aarch64)
+ CFLAGS += -O2 -DSIXTY_FOUR_BIT_LONG -ffreestanding -I$(shell $(CC) -print-file-name=include)
+endif
LDFLAGS = -nostdlib -znocombreloc
TARGET = libopenssl.a