diff options
Diffstat (limited to 'meta/classes/kernel-yocto.bbclass')
-rw-r--r-- | meta/classes/kernel-yocto.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index c81e70e678..d513ad2b63 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass | |||
@@ -254,7 +254,7 @@ do_kernel_configme() { | |||
254 | } | 254 | } |
255 | 255 | ||
256 | python do_kernel_configcheck() { | 256 | python do_kernel_configcheck() { |
257 | import re, string, sys, subprocess | 257 | import re, string, sys |
258 | 258 | ||
259 | bb.plain("NOTE: validating kernel config, see log.do_kernel_configcheck for details") | 259 | bb.plain("NOTE: validating kernel config, see log.do_kernel_configcheck for details") |
260 | 260 | ||
@@ -265,7 +265,7 @@ python do_kernel_configcheck() { | |||
265 | 265 | ||
266 | pathprefix = "export PATH=%s:%s; " % (d.getVar('PATH', True), "${S}/scripts/util/") | 266 | pathprefix = "export PATH=%s:%s; " % (d.getVar('PATH', True), "${S}/scripts/util/") |
267 | cmd = d.expand("cd ${S}; kconf_check -config- %s/meta-series ${S} ${B}" % kmeta) | 267 | cmd = d.expand("cd ${S}; kconf_check -config- %s/meta-series ${S} ${B}" % kmeta) |
268 | ret, result = subprocess.getstatusoutput("%s%s" % (pathprefix, cmd)) | 268 | ret, result = oe.utils.getstatusoutput("%s%s" % (pathprefix, cmd)) |
269 | 269 | ||
270 | config_check_visibility = d.getVar( "KCONF_AUDIT_LEVEL", True ) or 1 | 270 | config_check_visibility = d.getVar( "KCONF_AUDIT_LEVEL", True ) or 1 |
271 | if config_check_visibility == 1: | 271 | if config_check_visibility == 1: |