1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-04 02:00:04 +00:00

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
This commit is contained in:
Richard Purdie
2006-11-20 09:16:34 +00:00
parent 8174ba4222
commit 8aee6b32a0
8 changed files with 130 additions and 109 deletions
+3 -3
View File
@@ -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)
}