[U-Boot] [PATCH] x86: Enable 32-bit build using x86_64 multilib toolchain

Simon Glass sjg at chromium.org
Thu Jun 26 04:19:05 CEST 2014


On 11 June 2014 22:37, Simon Glass <sjg at chromium.org> wrote:
> On 10 June 2014 09:14, Vasili Galka <vvv444 at gmail.com> wrote:
>> Until now building the x86 arch boards required 32-bit toolchain. As
>> many x86_64 toolchains come with 32-bit support (multilib) that's a
>> good idea to enable build with such toolchains.
>>
>> The change required was to specify the usage of 32-bit explicitly to
>> the compiler and the linker (-m32 and -m elf_i386 flags) and locate
>> the right libgcc path.
>>
>> Signed-off-by: Vasili Galka <vvv444 at gmail.com>
>> ---
>>
>> For example on x86_64 Ubuntu "sudo apt-get install gcc-multilib" is enough and no need to install additional 32-bit toolchain.
>
> This seems reasonable to me.
>
> Acked-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-x86/sandbox, thanks!


More information about the U-Boot mailing list