diff options
author | Heinrich Schuchardt | 2018-12-30 10:52:41 +0100 |
---|---|---|
committer | Alexander Graf | 2019-02-13 09:40:05 +0100 |
commit | e4fd69564532018a4124c6f9d8ba76da766629bd (patch) | |
tree | 188b22a62c12e6057aee8a64ef5d513a629c3593 /lib/efi_selftest | |
parent | cc8e34178b5f141ed997843e86248e4d53f37298 (diff) |
efi_selftest: allow building on ARMv7-M
ARMv7-M only supports the Thumb instruction set. Our current crt0 code does
not support it. With the patch we can build all unit tests of the EFI
subsystem that do not require crt0.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/efi_selftest')
-rw-r--r-- | lib/efi_selftest/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/efi_selftest/Makefile b/lib/efi_selftest/Makefile index 743b4820449..5b804692aac 100644 --- a/lib/efi_selftest/Makefile +++ b/lib/efi_selftest/Makefile @@ -45,9 +45,9 @@ ifeq ($(CONFIG_BLK)$(CONFIG_PARTITIONS),yy) obj-y += efi_selftest_block_device.o endif -# TODO: As of v2018.01 the relocation code for the EFI application cannot -# be built on x86_64. -ifeq ($(CONFIG_X86_64)$(CONFIG_SANDBOX),) +# TODO: As of v2019.01 the relocation code for the EFI application cannot +# be built on ARMv7-M, Sandbox, and x86_64. +ifeq ($(CONFIG_SANDBOX)$(CONFIG_CPU_V7M)$(CONFIG_X86_64),) obj-y += \ efi_selftest_startimage_exit.o \ |