linux-mips
[Top] [All Lists]

Re: [PATCH] allow CROSS_COMPILE override

To: Brian Murphy <brian@murphy.dk>
Subject: Re: [PATCH] allow CROSS_COMPILE override
From: Jun Sun <jsun@mvista.com>
Date: Thu, 20 Feb 2003 13:23:00 -0800
Cc: linux-mips@linux-mips.org, jsun@mvista.com
In-reply-to: <3E55455A.8080403@murphy.dk>; from brian@murphy.dk on Thu, Feb 20, 2003 at 10:15:06PM +0100
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030220124703.H7466@mvista.com> <3E55455A.8080403@murphy.dk>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.2.5i
Is this allowed?  Can't find any such usage in kernel other
than the worrisome comment below:

arch/arm/Makefile:# Grr, ?= doesn't work as all the other assignment operators 
do.  Make bug?


Jun

On Thu, Feb 20, 2003 at 10:15:06PM +0100, Brian Murphy wrote:
> Jun Sun wrote:
> 
> >Anybody would object this?  It allows one to override
> >
> Why not but this is less messy:
> 
> --- arch/mips/Makefile  13 Dec 2002 23:41:09 -0000      1.1.1.8
> +++ arch/mips/Makefile  20 Feb 2003 21:10:30 -0000
> @@ -23,7 +23,7 @@
>  endif
>  
>  ifdef CONFIG_CROSSCOMPILE
> -CROSS_COMPILE  = $(tool-prefix)
> +CROSS_COMPILE ?= $(tool-prefix)
>  endif
>  
>  #
> 
> /Brian
> 

<Prev in Thread] Current Thread [Next in Thread>