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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user