From fe03f78fb0bf7d54b9472832e43764e882f918a1 Mon Sep 17 00:00:00 2001 From: Wenzong Fan Date: Fri, 24 Jun 2011 15:42:14 +0800 Subject: ccache: Set CCACHE on a per recipe basis Set 'CCACHE_DIR' in 'bitbake.conf' and create the dirs for every package before task 'do_configure' started. [RP: Merge dirs variables into one] Signed-off-by: Wenzong Fan Signed-off-by: Richard Purdie --- meta/classes/base.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/base.bbclass') diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 52f231675..c82dae83e 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -194,7 +194,7 @@ python base_eventhandler() { } addtask configure after do_unpack do_patch -do_configure[dirs] = "${S} ${B}" +do_configure[dirs] = "${CCACHE_DIR} ${S} ${B}" do_configure[deptask] = "do_populate_sysroot" base_do_configure() { : -- cgit v1.2.3