mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
classes: Remove and sanitise import statements
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
AUTOTOOLS_NATIVE_STAGE_INSTALL = "1"
|
||||
|
||||
def autotools_dep_prepend(d):
|
||||
import bb;
|
||||
|
||||
if bb.data.getVar('INHIBIT_AUTOTOOLS_DEPS', d, 1):
|
||||
return ''
|
||||
|
||||
@@ -29,7 +27,6 @@ acpaths = "default"
|
||||
EXTRA_AUTORECONF = "--exclude=autopoint"
|
||||
|
||||
def autotools_set_crosscompiling(d):
|
||||
import bb
|
||||
if not bb.data.inherits_class('native', d):
|
||||
return " cross_compiling=yes"
|
||||
return ""
|
||||
|
||||
Reference in New Issue
Block a user