diff options
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 "" |
