]> git.baikalelectronics.ru Git - uboot.git/commit
efi_selftest: allow building relocation code on x86_64
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 18 May 2018 17:12:19 +0000 (19:12 +0200)
committerAlexander Graf <agraf@suse.de>
Sun, 3 Jun 2018 13:27:20 +0000 (15:27 +0200)
commit9e8dacba814e772ec803d950d38242a9b678ffe2
tree282def10a0e21e4cc02ccc8a50e27740d6c0fd55
parentd2247701625479043e51a117c4bf96989216cbdc
efi_selftest: allow building relocation code on x86_64

Variables EFI_RELOC and EFI_CRT0 have to be defined to build the
EFI unit tests. This patch ensures this for the x86 architecure.

If we compile with EFI_STUB, the bitness depends on CONFIG_EFI_STUB_64BIT.
Otherwise the bitness depends on CONFIG_X86_64.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/x86/config.mk