[U-Boot] [PATCH 04/18] x86: efi: payload: Enforce toolchain to generate 64-bit EFI payload stub codes
Simon Glass
sjg at chromium.org
Mon Jun 11 14:53:37 UTC 2018
On 10 June 2018 at 05:25, Bin Meng <bmeng.cn at gmail.com> wrote:
> Attempting to use a toolchain that is preconfigured to generate code
> for the 32-bit architecture (i386), for example, the i386-linux-gcc
> toolchain on kernel.org, to compile the 64-bit EFI payload does not
> build. This updates the makefile fragments to ensure '-m64' is passed
> to toolchain when building the 64-bit EFI payload stub codes.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> arch/x86/cpu/Makefile | 3 ++-
> arch/x86/lib/Makefile | 4 ++--
> lib/efi/Makefile | 6 ++++--
> 3 files changed, 8 insertions(+), 5 deletions(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
Nice to get this working with an i386 compiler!
More information about the U-Boot
mailing list