diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-08 22:32:43 +0000 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-13 12:15:28 +0000 |
| commit | c54117458a19d05d404ec00907a8f3e9c73a416b (patch) | |
| tree | 6cc5695742a1198668b022b35c8b2a456c4f3f4f /meta/classes/autotools.bbclass | |
| parent | 80d55bbd6ea2ff93510f3b87ea97322b0b02eaa8 (diff) | |
| download | poky-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.bbclass | 3 |
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 @@ | |||
| 2 | AUTOTOOLS_NATIVE_STAGE_INSTALL = "1" | 2 | AUTOTOOLS_NATIVE_STAGE_INSTALL = "1" |
| 3 | 3 | ||
| 4 | def autotools_dep_prepend(d): | 4 | def 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" | |||
| 29 | EXTRA_AUTORECONF = "--exclude=autopoint" | 27 | EXTRA_AUTORECONF = "--exclude=autopoint" |
| 30 | 28 | ||
| 31 | def autotools_set_crosscompiling(d): | 29 | def 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 "" |
