public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andy Whitcroft <apw@shadowen.org>
To: Reuben Farrelly <reuben-lkml@reub.net>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: [PATCH] remove ccache from top level Makefile and make configurable
Date: Mon, 20 Feb 2006 19:36:16 +0000	[thread overview]
Message-ID: <20060220193616.GA16407@shadowen.org> (raw)
In-Reply-To: 43F9B8A9.4000506@reub.net

remove ccache from top level Makefile and make configurable

[Here is the patch I used to fix this for out nightly testing.
It seems that if it were something we could configure from outside
the source we'd avoid this occuring again.]

Remove errant ccache from top-level makefile and make it configurable on
the kernel build line.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
---
 Makefile |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)
diff -upN reference/Makefile current/Makefile
--- reference/Makefile
+++ current/Makefile
@@ -171,9 +171,11 @@ SUBARCH := $(shell uname -m | sed -e s/i
 # Alternatively CROSS_COMPILE can be set in the environment.
 # Default value for CROSS_COMPILE is not to prefix executables
 # Note: Some architectures assign CROSS_COMPILE in their arch/*/Makefile
+# CCACHE specifies the name of a ccache binary to use with gcc.
 
 ARCH		?= $(SUBARCH)
 CROSS_COMPILE	?=
+CCACHE		?=
 
 # Architecture as present in compile.h
 UTS_MACHINE := $(ARCH)
@@ -274,7 +276,7 @@ include  $(srctree)/scripts/Kbuild.inclu
 
 AS		= $(CROSS_COMPILE)as
 LD		= $(CROSS_COMPILE)ld
-CC		= ccache $(CROSS_COMPILE)gcc
+CC		= $(CCACHE) $(CROSS_COMPILE)gcc
 CPP		= $(CC) -E
 AR		= $(CROSS_COMPILE)ar
 NM		= $(CROSS_COMPILE)nm

  reply	other threads:[~2006-02-20 19:36 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-20 12:26 2.6.16-rc4-mm1 Andrew Morton
2006-02-20 12:38 ` 2.6.16-rc4-mm1 Al Viro
2006-02-20 12:54   ` 2.6.16-rc4-mm1 Francesco Biscani
2006-02-20 12:40 ` 2.6.16-rc4-mm1 Reuben Farrelly
2006-02-20 19:36   ` Andy Whitcroft [this message]
2006-02-20 21:39     ` [PATCH] remove ccache from top level Makefile and make configurable Christopher Friesen
2006-02-21 18:39       ` Andy Whitcroft
2006-02-20 20:15   ` 2.6.16-rc4-mm1 Al Viro
2006-02-21  0:53     ` 2.6.16-rc4-mm1 Andrew Morton
2006-02-21  4:40       ` 2.6.16-rc4-mm1 Al Viro
2006-02-21  7:59       ` 2.6.16-rc4-mm1 Arjan van de Ven
2006-02-20 13:02 ` 2.6.16-rc4-mm1 Reuben Farrelly
2006-02-20 14:11   ` 2.6.16-rc4-mm1 Patrick McHardy
2006-02-20 14:20     ` 2.6.16-rc4-mm1 Arnaldo Carvalho de Melo
2006-02-20 20:04     ` 2.6.16-rc4-mm1 Carl-Daniel Hailfinger
2006-02-20 20:56       ` 2.6.16-rc4-mm1 Arnaldo Carvalho de Melo
2006-02-20 21:09         ` 2.6.16-rc4-mm1 Adrian Bunk
2006-02-20 20:44     ` 2.6.16-rc4-mm1 Adrian Bunk
2006-02-21  1:17       ` 2.6.16-rc4-mm1 Patrick McHardy
2006-02-21  2:00         ` 2.6.16-rc4-mm1 Adrian Bunk
2006-02-20 14:37 ` 2.6.16-rc4-mm1: usbfs2 multiply defined symbols Adrian Bunk
2006-02-20 17:33   ` [linux-usb-devel] " Greg KH
2006-02-20 15:07 ` 2.6.16-rc4-mm1 kernel crash at bootup. parport trouble? Helge Hafting
2006-02-20 15:25   ` MIke Galbraith
2006-02-20 20:41     ` Andrew Morton
2006-02-20 23:36       ` Rafael J. Wysocki
2006-02-20 23:40         ` Andrew Morton
2006-02-21  0:02           ` Rafael J. Wysocki
2006-02-21  0:09             ` Andrew Morton
2006-02-21  0:20               ` Rafael J. Wysocki
2006-02-22 11:44             ` Rafael J. Wysocki
2006-02-22 11:56               ` Andrew Morton
2006-02-22 18:19                 ` Rafael J. Wysocki
2006-02-20 22:58     ` Rafael J. Wysocki
     [not found] ` <6bffcb0e0602200533p1a3da98ew@mail.gmail.com>
2006-02-20 16:33   ` 2.6.16-rc4-mm1 Greg KH
2006-02-20 17:54 ` 2.6.16-rc4-mm1 Bernhard Rosenkraenzer
2006-02-20 19:25 ` [PATCH -mm HOT-FIX] fix build on ia64 (modpost.c) Sam Ravnborg
2006-02-20 21:37   ` Andrew Morton
2006-02-21  8:14 ` 2.6.16-rc4-mm1 Laurent Riffard
2006-02-21  8:16   ` 2.6.16-rc4-mm1 Andrew Morton
2006-02-21 19:00 ` 2.6.16-rc4-mm1 console (radeonfb) not resumed after s2ram Mattia Dongili
2006-02-21 21:43   ` Andrew Morton
2006-02-22 14:24     ` Mattia Dongili
2006-02-22 19:39       ` Mattia Dongili
2006-02-22 20:40         ` Andrew Morton
2006-02-22 13:47 ` 2.6.16-rc4-mm1 Alexander E. Patrakov
2006-02-22 15:26   ` 2.6.16-rc4-mm1 Alexander E. Patrakov
2006-02-23 12:10     ` 2.6.16-rc4-mm1 Alan Cox
2006-02-23 13:02       ` 2.6.16-rc4-mm1 Thierry Vignaud
2006-02-23 15:19         ` 2.6.16-rc4-mm1 Alan Cox
2006-02-22 15:36   ` 2.6.16-rc4-mm1 Randy.Dunlap
2006-02-23  6:53   ` 2.6.16-rc4-mm1 Randy.Dunlap
2006-02-23  9:11     ` 2.6.16-rc4-mm1 Alexander E. Patrakov
2006-02-23 15:27       ` 2.6.16-rc4-mm1 Randy.Dunlap
2006-02-23 18:21     ` zcat: stdin: decompression OK (was: Re: 2.6.16-rc4-mm1) Alexey Dobriyan
2006-02-24  4:18       ` Randy.Dunlap
2006-02-24  4:51       ` zcat: stdin: decompression OK Alexander E. Patrakov
2006-02-27  1:59         ` Randy.Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060220193616.GA16407@shadowen.org \
    --to=apw@shadowen.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=reuben-lkml@reub.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox