lkml.org 
[lkml]   [2000]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: CCFOUND and more
Date
On Tue, 26 Dec 2000 21:11:14 +0100, 
"J . A . Magallon" <jamagallon@able.es> wrote:
>Solving other things, I have realized that all that problem on fast
>CC detection (CCFOUND) is easily solved by doing:
> CC := $(.................)
>instead of
> CC = $(.........)
>The find of the suitable CC command is repeated many times along a
>kernel build. And CC is not anything that can change along a kernel
>build. So former syntax solves all the problems, CC detection can
>be so complex as you want because is done only once.
>
>Is there something I am missing ?

Yes. Some arch files change CROSS_COMPILE after CC has been set and
expect the change to flow into the definition of CC. This "feature"
only works because '=' stores the value as text and reevaluates the
text each time, automatically picking up any changes to CROSS_COMPILE.
Using CC := might break m68k and mips. The makefile redesign for 2.5
will fix this problem once and for all.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.025 / U:1.568 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site