[U-Boot] [PATCH] Fixup native builds on powerpc

Scott Wood scottwood at freescale.com
Tue Apr 27 18:19:09 CEST 2010


On Mon, Apr 26, 2010 at 10:57:51PM -0500, Kumar Gala wrote:
> When we changed ARCH from ppc to powerpc we need to treat HOSTARCH the
> same way.  We use HOSTARCH == ARCH to determine if a build is native.
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
>  Makefile |    5 ++---
>  1 files changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index 34f10ce..f3e9dde 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -38,9 +38,8 @@ HOSTARCH := $(shell uname -m | \
>  	    -e s/sun4u/sparc64/ \
>  	    -e s/arm.*/arm/ \
>  	    -e s/sa110/arm/ \
> -	    -e s/powerpc/ppc/ \
> -	    -e s/ppc64/ppc/ \
> -	    -e s/macppc/ppc/)
> +	    -e s/ppc64/powerpc/ \
> +	    -e s/macppc/powerpc/)

We need s/ppc/powerpc/ as well (even on an ARCH=powerpc kernel, it seems).

-Scott


More information about the U-Boot mailing list