commit | e2425b6bc0862b45d7ebff5dea213e28d9285b9d | [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 | 75b4e692e41a79a92ca1f8223d3f21bf23eba0f6 [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>