summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel-yocto.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/kernel-yocto.bbclass')
-rw-r--r--meta/classes/kernel-yocto.bbclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 724e5cd475..f78d63b349 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -212,8 +212,13 @@ python do_kernel_configcheck() {
212 212
213 bb.plain("NOTE: validating kernel configuration") 213 bb.plain("NOTE: validating kernel configuration")
214 214
215 # if KMETA isn't set globally by a recipe using this routine, we need to
216 # set the default to 'meta'. Otherwise, kconf_check is not passed a valid
217 # meta-series for processing
218 kmeta = d.getVar( "KMETA", True ) or "meta"
219
215 pathprefix = "export PATH=%s:%s; " % (d.getVar('PATH', True), "${S}/scripts/util/") 220 pathprefix = "export PATH=%s:%s; " % (d.getVar('PATH', True), "${S}/scripts/util/")
216 cmd = d.expand("cd ${S}; kconf_check -config- ${KMETA}/meta-series ${S} ${B}") 221 cmd = d.expand("cd ${S}; kconf_check -config- %s/meta-series ${S} ${B}" % kmeta)
217 ret, result = commands.getstatusoutput("%s%s" % (pathprefix, cmd)) 222 ret, result = commands.getstatusoutput("%s%s" % (pathprefix, cmd))
218 223
219 bb.plain( "%s" % result ) 224 bb.plain( "%s" % result )