Re: CCFOUND and more

From: J . A . Magallon (jamagallon@able.es)
Date: Thu Dec 28 2000 - 20:27:03 EST


On 2000.12.28 Keith Owens wrote:
>
> 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.
>

OK, understrood. Anyway, I know there is not too much impact of this
issue, but you could always convert-to-fast-version the more
critical vars with something like:

CC = .........
CPP = $(CC) -E
..
include arch/$(ARCH)/Makefile

# Eval them once forever
CC:=$(CC)
CPP:=$(CPP)

-- 
J.A. Magallon                                         $> cd pub
mailto:jamagallon@able.es                             $> more beer

Linux werewolf 2.2.19-pre3-aa3 #3 SMP Wed Dec 27 10:25:32 CET 2000 i686

- 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/



This archive was generated by hypermail 2b29 : Sun Dec 31 2000 - 21:00:12 EST