summaryrefslogtreecommitdiffstats
path: root/meta/classes/autotools.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-08 22:32:43 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 12:15:28 +0000
commitc54117458a19d05d404ec00907a8f3e9c73a416b (patch)
tree6cc5695742a1198668b022b35c8b2a456c4f3f4f /meta/classes/autotools.bbclass
parent80d55bbd6ea2ff93510f3b87ea97322b0b02eaa8 (diff)
downloadpoky-c54117458a19d05d404ec00907a8f3e9c73a416b.tar.gz
classes: Remove and sanitise import statements
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/autotools.bbclass')
-rw-r--r--meta/classes/autotools.bbclass3
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 4946222f78..57a8b0ed18 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -2,8 +2,6 @@
2AUTOTOOLS_NATIVE_STAGE_INSTALL = "1" 2AUTOTOOLS_NATIVE_STAGE_INSTALL = "1"
3 3
4def autotools_dep_prepend(d): 4def autotools_dep_prepend(d):
5 import bb;
6
7 if bb.data.getVar('INHIBIT_AUTOTOOLS_DEPS', d, 1): 5 if bb.data.getVar('INHIBIT_AUTOTOOLS_DEPS', d, 1):
8 return '' 6 return ''
9 7
@@ -29,7 +27,6 @@ acpaths = "default"
29EXTRA_AUTORECONF = "--exclude=autopoint" 27EXTRA_AUTORECONF = "--exclude=autopoint"
30 28
31def autotools_set_crosscompiling(d): 29def autotools_set_crosscompiling(d):
32 import bb
33 if not bb.data.inherits_class('native', d): 30 if not bb.data.inherits_class('native', d):
34 return " cross_compiling=yes" 31 return " cross_compiling=yes"
35 return "" 32 return ""