[U-Boot] [PATCH 04/18] x86: efi: payload: Enforce toolchain to generate 64-bit EFI payload stub codes

Bin Meng bmeng.cn at gmail.com
Tue Jun 12 13:07:21 UTC 2018


On Mon, Jun 11, 2018 at 10:53 PM, Simon Glass <sjg at chromium.org> wrote:
> 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!

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list