On Thu, Feb 20, 2003 at 12:47:03PM -0800, Jun Sun wrote: > Anybody would object this? It allows one to override > CROSS_COMPILE from command line or top-level Makefile. > > Jun > Silly question: why does this matter if CROSS_COMPILE is on the command line? Command line definitions override anything in the makefile. Is it falling off the command line in a recursive make? > diff -Nru linux/arch/mips/Makefile.orig linux/arch/mips/Makefile > --- linux/arch/mips/Makefile.orig Thu Feb 20 10:49:18 2003 > +++ linux/arch/mips/Makefile Thu Feb 20 12:18:53 2003 > @@ -23,7 +23,9 @@ > endif > > ifdef CONFIG_CROSSCOMPILE > -CROSS_COMPILE = $(tool-prefix) > + ifndef CROSS_COMPILE > + CROSS_COMPILE = $(tool-prefix) > + endif > endif > > # -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer