summaryrefslogtreecommitdiff
path: root/Cryptlib/OpenSSL
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2014-08-12 15:33:22 +0200
committerPeter Jones <pjones@redhat.com>2014-08-12 10:54:05 -0400
commitfa525bc4632e04346fae82a98ce23b31c6cfc86d (patch)
treef86313fab04e5609d5ae777d032aaa4e73681e70 /Cryptlib/OpenSSL
parent04cba93d64b5ffd3a05be82aacea5c2b2d0ea94c (diff)
downloadefi-boot-shim-fa525bc4632e04346fae82a98ce23b31c6cfc86d.tar.gz
efi-boot-shim-fa525bc4632e04346fae82a98ce23b31c6cfc86d.zip
Add support for 32-bit ARM
This adds support for building the shim for a 32-bit ARM UEFI environment. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Diffstat (limited to 'Cryptlib/OpenSSL')
-rw-r--r--Cryptlib/OpenSSL/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Cryptlib/OpenSSL/Makefile b/Cryptlib/OpenSSL/Makefile
index 17b5695b..7990b3ce 100644
--- a/Cryptlib/OpenSSL/Makefile
+++ b/Cryptlib/OpenSSL/Makefile
@@ -15,6 +15,9 @@ endif
ifeq ($(ARCH),aarch64)
CFLAGS += -O2 -DSIXTY_FOUR_BIT_LONG -ffreestanding -I$(shell $(CC) -print-file-name=include)
endif
+ifeq ($(ARCH),arm)
+ CFLAGS += -O2 -DTHIRTY_TWO_BIT -ffreestanding -I$(shell $(CC) -print-file-name=include)
+endif
LDFLAGS = -nostdlib -znocombreloc
TARGET = libopenssl.a