diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2011-06-24 15:42:14 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-30 20:57:05 +0100 |
commit | 860eea2a580b3a652e7bd78501e16d6036283059 (patch) | |
tree | bc2fd98780ad4aa4119001efa32d54c57edd93be /meta/classes/base.bbclass | |
parent | b3847df86d093bf2f2bb27e34303f53b5bc6584e (diff) | |
download | poky-860eea2a580b3a652e7bd78501e16d6036283059.tar.gz |
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]
(From OE-Core rev: fe03f78fb0bf7d54b9472832e43764e882f918a1)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 52f231675c..c82dae83e8 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -194,7 +194,7 @@ python base_eventhandler() { | |||
194 | } | 194 | } |
195 | 195 | ||
196 | addtask configure after do_unpack do_patch | 196 | addtask configure after do_unpack do_patch |
197 | do_configure[dirs] = "${S} ${B}" | 197 | do_configure[dirs] = "${CCACHE_DIR} ${S} ${B}" |
198 | do_configure[deptask] = "do_populate_sysroot" | 198 | do_configure[deptask] = "do_populate_sysroot" |
199 | base_do_configure() { | 199 | base_do_configure() { |
200 | : | 200 | : |