summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2011-12-21 15:00:02 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-03 12:12:38 +0000
commitdc27861b1d02fbf50e446dca316e9c3cd25035c6 (patch)
tree85a4bbb34cd2672727f7441983c3c2b4c26d3297 /meta
parent6ede5cf045f86042922852101b4cb3e2483a4dd7 (diff)
downloadpoky-dc27861b1d02fbf50e446dca316e9c3cd25035c6.tar.gz
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. (From OE-Core rev: 68684b4903261cc5d3f48355f7cc6671484bb546) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 79f82e3513..f78caaf23c 100644
--- a/meta/classes/kernel-yocto.bbclass
+++ b/meta/classes/kernel-yocto.bbclass
@@ -124,8 +124,8 @@ python do_kernel_configcheck() {
124 124
125 bb.plain("NOTE: validating kernel configuration") 125 bb.plain("NOTE: validating kernel configuration")
126 126
127 pathprefix = "export PATH=%s; " % d.getVar('PATH', True) 127 pathprefix = "export PATH=%s:%s; " % (d.getVar('PATH', True), "${S}/scripts/util/")
128 cmd = bb.data.expand("cd ${B}/..; ${S}/scripts/util/kconf_check -config- ${B} ${S} ${B} ${KBRANCH}",d ) 128 cmd = bb.data.expand("cd ${B}/..; kconf_check -config- ${B} ${S} ${B} ${KBRANCH}",d )
129 ret, result = commands.getstatusoutput("%s%s" % (pathprefix, cmd)) 129 ret, result = commands.getstatusoutput("%s%s" % (pathprefix, cmd))
130 130
131 bb.plain( "%s" % result ) 131 bb.plain( "%s" % result )