lkml.org 
[lkml]   [2006]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: 2.6.16-rc4-mm1
Date
On Monday, 20. February 2006 13:26, Andrew Morton wrote:
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.16-rc4/2.
>6.16-rc4-mm1/

Doesn't compile on boxes without ccache -- patch below:

Don't depend on ccache, but use it if it's there

Signed-off-by: Bernhard Rosenkraenzer <bero@arklinux.org>

--- linux-2.6.15/Makefile.ark 2006-02-20 18:09:54.000000000 +0100
+++ linux-2.6.15/Makefile 2006-02-20 18:15:37.000000000 +0100
@@ -274,7 +274,7 @@

AS = $(CROSS_COMPILE)as
LD = $(CROSS_COMPILE)ld
-CC = ccache $(CROSS_COMPILE)gcc
+CC = $(shell ccache --version &>/dev/null && echo ccache)
$(CROSS_COMPILE)gcc
CPP = $(CC) -E
AR = $(CROSS_COMPILE)ar
NM = $(CROSS_COMPILE)nm
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-02-20 18:58    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site