diff options
Diffstat (limited to 'meta/conf/distro')
-rw-r--r-- | meta/conf/distro/include/csl-versions.inc | 2 | ||||
-rw-r--r-- | meta/conf/distro/include/tcmode-external-sourcery.inc | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/meta/conf/distro/include/csl-versions.inc b/meta/conf/distro/include/csl-versions.inc index 0790b8ab26..e8f52d272d 100644 --- a/meta/conf/distro/include/csl-versions.inc +++ b/meta/conf/distro/include/csl-versions.inc | |||
@@ -38,7 +38,6 @@ def csl_get_gcc_version(d): | |||
38 | return version | 38 | return version |
39 | 39 | ||
40 | def csl_get_libc_version(d): | 40 | def csl_get_libc_version(d): |
41 | import os,bb | ||
42 | syspath = d.expand('${EXTERNAL_TOOLCHAIN}/${CSL_TARGET_SYS}') | 41 | syspath = d.expand('${EXTERNAL_TOOLCHAIN}/${CSL_TARGET_SYS}') |
43 | if not syspath: | 42 | if not syspath: |
44 | return 'UNKNOWN' | 43 | return 'UNKNOWN' |
@@ -54,7 +53,6 @@ def csl_get_libc_version(d): | |||
54 | return 'UNKNOWN' | 53 | return 'UNKNOWN' |
55 | 54 | ||
56 | def csl_get_kernel_version(d): | 55 | def csl_get_kernel_version(d): |
57 | import os,bb | ||
58 | syspath = d.expand('${EXTERNAL_TOOLCHAIN}/${CSL_TARGET_SYS}') | 56 | syspath = d.expand('${EXTERNAL_TOOLCHAIN}/${CSL_TARGET_SYS}') |
59 | if not syspath: | 57 | if not syspath: |
60 | return 'UNKNOWN' | 58 | return 'UNKNOWN' |
diff --git a/meta/conf/distro/include/tcmode-external-sourcery.inc b/meta/conf/distro/include/tcmode-external-sourcery.inc index 1635eec813..098c724e02 100644 --- a/meta/conf/distro/include/tcmode-external-sourcery.inc +++ b/meta/conf/distro/include/tcmode-external-sourcery.inc | |||
@@ -104,7 +104,6 @@ addhandler toolchain_setup | |||
104 | 104 | ||
105 | def populate_toolchain_links(d): | 105 | def populate_toolchain_links(d): |
106 | import errno | 106 | import errno |
107 | import os | ||
108 | from glob import glob | 107 | from glob import glob |
109 | 108 | ||
110 | d = d.createCopy() | 109 | d = d.createCopy() |