Re: Howto set kernel makefile to use particular gcc



On Sun, Jan 01, 2006 at 07:03:15PM +0900, Kalin KOZHUHAROV wrote:
>
> As I just stumbeled into a similar problem, I am going to ask here.
>
> I know the "trick" of `make -j8 CC=distcc` and I always use it. But is there a way to hardwire
> "CC=distcc" insie the Makefile? Just setting it there does not help it seems.

Setting it somewhere at the top of the Makefile doesn't help since the
Makefile sets it itself later overriding your setting.

The Makefile contains the line
CC = $(CROSS_COMPILE)gcc

Change this line to
CC = $(CROSS_COMPILE)distcc

> Kalin.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

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



Relevant Pages

  • Re: void* arithmnetic
    ... Explicitly adding -Wpointer-arith to ones own Makefile is like ... admitting the code might be problematic. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: Trouble Importing Tkinter in embedded C program
    ... >> Can someone guide me in the right direction to allow calls to Tkinter ... I tried to check the FAQ and newsgroup, ... few different ways all of which amount to the makefile below. ... I drop the definition of DLL this makefile will compile and run the ...
    (comp.lang.python)
  • Re: MakeFile
    ... Faith wrote: ... so based on that program I am supposed to write a makefile ... >>Thomas Matthews ... C++ Faq: http://www.parashift.com/c++-faq-lite ...
    (comp.lang.cpp)
  • Re: kbuild, localversion (Re: [patch 3/3, resend] kbuild: correctly skip tilded backups in localvers
    ... Too much depend on having version in Makefile so this is a no-go to change. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: [PATCH 7/7] Makefile
    ... I forgot to remove it before mailing the series. ... Makefile | 3 +++ ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)