]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: Enable 32-bit build using x86_64 multilib toolchain
authorVasili Galka <vvv444@gmail.com>
Tue, 10 Jun 2014 13:14:56 +0000 (16:14 +0300)
committerSimon Glass <sjg@chromium.org>
Mon, 23 Jun 2014 21:37:23 +0000 (15:37 -0600)
commitdbb7234b2a5e7d2cdb6658156de8d2d5b54033d7
tree0459fd1d2057ae96e4d27e340228f10891acf6a0
parent038380597bc9b97378da2e18355cd7346d17b002
x86: Enable 32-bit build using x86_64 multilib toolchain

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@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/config.mk
arch/x86/cpu/config.mk