diff options
author | Richard Purdie <richard@openedhand.com> | 2006-11-20 09:16:34 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-11-20 09:16:34 +0000 |
commit | 8aee6b32a09dbbce304018f169eb6623182622c5 (patch) | |
tree | 24f1f9de0d57e15e126e840c6905805cbf9386a6 /meta/classes/ccache.inc | |
parent | 8174ba42226d2e590879c0adb03272c35b1b9946 (diff) | |
download | openembedded-core-8aee6b32a09dbbce304018f169eb6623182622c5.tar.gz openembedded-core-8aee6b32a09dbbce304018f169eb6623182622c5.tar.bz2 openembedded-core-8aee6b32a09dbbce304018f169eb6623182622c5.tar.xz openembedded-core-8aee6b32a09dbbce304018f169eb6623182622c5.zip |
classes: Standardise whitespace in anonymous python methods and factor out functions for more efficent use by bitbake (as also patched in OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@875 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/ccache.inc')
-rw-r--r-- | meta/classes/ccache.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/ccache.inc b/meta/classes/ccache.inc index 5e9356104..d830a1b8f 100644 --- a/meta/classes/ccache.inc +++ b/meta/classes/ccache.inc @@ -5,7 +5,7 @@ CCACHE_DIR_TARGET = "${TMPDIR}/ccache" python () { - if not bb.data.inherits_class('native', d) and not bb.data.inherits_class('cross', d): - bb.data.setVar('CCACHE_DIR', '${CCACHE_DIR_TARGET}', d) - bb.data.setVarFlag('CCACHE_DIR', 'export', '1', d) + if not bb.data.inherits_class('native', d) and not bb.data.inherits_class('cross', d): + bb.data.setVar('CCACHE_DIR', '${CCACHE_DIR_TARGET}', d) + bb.data.setVarFlag('CCACHE_DIR', 'export', '1', d) } |