commit | 508d8567046fe3c0d1354fc3a7a6f81d9661a661 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Fri May 18 19:12:19 2018 +0200 |
committer | Alexander Graf <agraf@suse.de> | Sun Jun 03 15:27:20 2018 +0200 |
tree | 282def10a0e21e4cc02ccc8a50e27740d6c0fd55 | |
parent | a4aa7bef3c66e473ab4671b0edef1bb66488a032 [diff] |
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>