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:52:46 +0100 |
commit | fe03f78fb0bf7d54b9472832e43764e882f918a1 (patch) | |
tree | 79dfcc04e5980403461868c27ca9f61f916a825d /meta/classes/base.bbclass | |
parent | 43416be5ccb66f93e395fdd8d0e19327f848cbe2 (diff) | |
download | openembedded-core-fe03f78fb0bf7d54b9472832e43764e882f918a1.tar.gz openembedded-core-fe03f78fb0bf7d54b9472832e43764e882f918a1.tar.bz2 openembedded-core-fe03f78fb0bf7d54b9472832e43764e882f918a1.tar.xz openembedded-core-fe03f78fb0bf7d54b9472832e43764e882f918a1.zip |
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 <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 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() { : |