diff mbox

[U-Boot,7/7] mips: enable CONFIG_USE_PRIVATE_LIBGCC by default

Message ID 1411727024-19153-8-git-send-email-yamada.m@jp.panasonic.com
State Superseded
Delegated to: Tom Rini
Headers show

Commit Message

Masahiro Yamada Sept. 26, 2014, 10:23 a.m. UTC
Without the private libgcc, we need a full multilib toolchain with
different libgcc or multiple toolchains to build all BE/LE and
hard-float/soft-float variants of MIPS boards.  That is not feasible.

This commit allows us to build all the MIPS boards with a single
kernel.org toolchain:

https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.9.0/
x86_64-gcc-4.9.0-nolibc_mips-linux.tar.xz

This change would be reasonable for most users.  If necessary,
you can disable this option via "make menuconfig" or friends.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
---

 arch/mips/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

Comments

Daniel Schwierzeck Oct. 8, 2014, 10:16 a.m. UTC | #1
On 26.09.2014 12:23, Masahiro Yamada wrote:
> Without the private libgcc, we need a full multilib toolchain with
> different libgcc or multiple toolchains to build all BE/LE and
> hard-float/soft-float variants of MIPS boards.  That is not feasible.
> 
> This commit allows us to build all the MIPS boards with a single
> kernel.org toolchain:
> 
> https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.9.0/
> x86_64-gcc-4.9.0-nolibc_mips-linux.tar.xz
> 
> This change would be reasonable for most users.  If necessary,
> you can disable this option via "make menuconfig" or friends.
> 
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
> ---
> 
>  arch/mips/Kconfig | 3 +++
>  1 file changed, 3 insertions(+)
> 

Acked-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
diff mbox

Patch

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 7686b77..9b72bab 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -4,6 +4,9 @@  menu "MIPS architecture"
 config SYS_ARCH
 	default "mips"
 
+config USE_PRIVATE_LIBGCC
+	default y
+
 choice
 	prompt "Target select"