summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2011-12-21 15:00:02 -0500
committerSaul Wold <sgw@linux.intel.com>2012-01-02 20:26:06 -0800
commit68684b4903261cc5d3f48355f7cc6671484bb546 (patch)
treec935e5f9db54024f4b3d2ef0e4f51a52c915f8da
parent015cb39ccf490de07bfd007fafc6d75c6c152add (diff)
downloadopenembedded-core-68684b4903261cc5d3f48355f7cc6671484bb546.tar.gz
openembedded-core-68684b4903261cc5d3f48355f7cc6671484bb546.tar.bz2
openembedded-core-68684b4903261cc5d3f48355f7cc6671484bb546.tar.xz
openembedded-core-68684b4903261cc5d3f48355f7cc6671484bb546.zip
linux-yocto: use PATH to locate kconf_check
The changes made to prefer in-tree kernel tools forced the location of kconf_check prematurely. For maximum flexibility, locating it on the PATH is ideal, since the transition to in-tree tools will be completely transparent. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--meta/classes/kernel-yocto.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass
index 79f82e351..f78caaf23 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -124,8 +124,8 @@ python do_kernel_configcheck() {
bb.plain("NOTE: validating kernel configuration")
- pathprefix = "export PATH=%s; " % d.getVar('PATH', True)
- cmd = bb.data.expand("cd ${B}/..; ${S}/scripts/util/kconf_check -config- ${B} ${S} ${B} ${KBRANCH}",d )
+ pathprefix = "export PATH=%s:%s; " % (d.getVar('PATH', True), "${S}/scripts/util/")
+ cmd = bb.data.expand("cd ${B}/..; kconf_check -config- ${B} ${S} ${B} ${KBRANCH}",d )
ret, result = commands.getstatusoutput("%s%s" % (pathprefix, cmd))
bb.plain( "%s" % result )