summaryrefslogtreecommitdiff
path: root/meta/classes/ccdv.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-11-20 09:16:34 +0000
committerRichard Purdie <richard@openedhand.com>2006-11-20 09:16:34 +0000
commit8aee6b32a09dbbce304018f169eb6623182622c5 (patch)
tree24f1f9de0d57e15e126e840c6905805cbf9386a6 /meta/classes/ccdv.bbclass
parent8174ba42226d2e590879c0adb03272c35b1b9946 (diff)
downloadopenembedded-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/ccdv.bbclass')
-rw-r--r--meta/classes/ccdv.bbclass12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/ccdv.bbclass b/meta/classes/ccdv.bbclass
index edd151ef8..a28ea672e 100644
--- a/meta/classes/ccdv.bbclass
+++ b/meta/classes/ccdv.bbclass
@@ -1,10 +1,10 @@
python () {
- if bb.data.getVar('PN', d, 1) in ['ccdv-native']:
- if not bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, 1):
- bb.data.setVar("DEPENDS", '%s %s' % ("ccdv-native", bb.data.getVar("DEPENDS", d, 1) or ""), d)
- bb.data.setVar("CC", '%s %s' % ("ccdv", bb.data.getVar("CC", d, 1) or ""), d)
- bb.data.setVar("BUILD_CC", '%s %s' % ("ccdv", bb.data.getVar("BUILD_CC", d, 1) or ""), d)
- bb.data.setVar("CCLD", '%s %s' % ("ccdv", bb.data.getVar("CCLD", d, 1) or ""), d)
+ if bb.data.getVar('PN', d, 1) in ['ccdv-native']:
+ if not bb.data.getVar('INHIBIT_DEFAULT_DEPS', d, 1):
+ bb.data.setVar("DEPENDS", '%s %s' % ("ccdv-native", bb.data.getVar("DEPENDS", d, 1) or ""), d)
+ bb.data.setVar("CC", '%s %s' % ("ccdv", bb.data.getVar("CC", d, 1) or ""), d)
+ bb.data.setVar("BUILD_CC", '%s %s' % ("ccdv", bb.data.getVar("BUILD_CC", d, 1) or ""), d)
+ bb.data.setVar("CCLD", '%s %s' % ("ccdv", bb.data.getVar("CCLD", d, 1) or ""), d)
}
def quiet_libtool(bb,d):