[Buildroot] [PATCH 2/2] toolchain/mips: add the mips64 tuple

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Jul 14 23:02:14 UTC 2012


Le Sat, 14 Jul 2012 09:28:38 -0300,
Gustavo Zacarias <gustavo at zacarias.com.ar> a écrit :

> We need to use mips64 in the tuple for 64-bit variants (N32, N64 and O64
> ABIs), otherwise we get assembly failures.
> 
> Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
> ---
>  target/Config.in.arch |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/target/Config.in.arch b/target/Config.in.arch
> index bad0f4c..ae90a1d 100644
> --- a/target/Config.in.arch
> +++ b/target/Config.in.arch
> @@ -600,6 +600,8 @@ config BR2_ARCH
>  	default "i686"		if BR2_x86_athlon_4
>  	default "m68k"		if BR2_m68k
>  	default "microblaze"	if BR2_microblaze
> +	default "mips64"	if (BR2_MIPS_ABI64 || BR2_MIPS_OABI64 || BR2_MIPS_ABI32) && BR2_mips
> +	default "mips64el"	if (BR2_MIPS_ABI64 || BR2_MIPS_OABI64 || BR2_MIPS_ABI32) && BR2_mipsel
>  	default "mips"		if BR2_mips
>  	default "mipsel"	if BR2_mipsel
>  	default "powerpc"	if BR2_powerpc

So basically all ABIs except o32 are mips64 ABIs ?

I think it would be good to add a help text below each ABI to explain
its use case, the bitness of the kernel, etc.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list