[OpenBIOS] [PATCH 1/4] allow powerpc-unknown-linux-gnu- toolchain prefix

Mark Cave-Ayland mark.cave-ayland at ilande.co.uk
Sun Feb 24 12:47:52 CET 2013


On 23/02/13 18:59, Amadeusz Sławiński wrote:

> crossdev on gentoo builds crosscompiler with powerpc-unknown-linux-gnu-
> prefix
>
> Signed-off-by: Amadeusz Sławiński<amade at asmblr.net>
> ---
>   config/scripts/switch-arch | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/config/scripts/switch-arch b/config/scripts/switch-arch
> index a9c911b..28b3b45 100755
> --- a/config/scripts/switch-arch
> +++ b/config/scripts/switch-arch
> @@ -97,7 +97,7 @@ archname()
>
>   select_prefix()
>   {
> -    for TARGET in ${1}-linux-gnu- ${1}-linux- ${1}-elf- ${1}-eabi-
> +    for TARGET in ${1}-unknown-linux-gnu- ${1}-linux-gnu- ${1}-linux- ${1}-elf- ${1}-eabi-
>       do
>           if type ${TARGET}gcc>  /dev/null 2>&1
>           then

I don't see any regressions on my test images with these patches applied 
- looks good to me, but I'd like a second nod from Alex/Andreas.


ATB,

Mark.



More information about the OpenBIOS mailing list