Re: 2.6.16-rc4-mm1
From: Bernhard Rosenkraenzer
Date: Mon Feb 20 2006 - 12:53:39 EST
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@xxxxxxxxxxxx>
--- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/