mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
6ede5cf045
commit
dc27861b1d
@@ -124,8 +124,8 @@ python do_kernel_configcheck() {
|
|||||||
|
|
||||||
bb.plain("NOTE: validating kernel configuration")
|
bb.plain("NOTE: validating kernel configuration")
|
||||||
|
|
||||||
pathprefix = "export PATH=%s; " % d.getVar('PATH', True)
|
pathprefix = "export PATH=%s:%s; " % (d.getVar('PATH', True), "${S}/scripts/util/")
|
||||||
cmd = bb.data.expand("cd ${B}/..; ${S}/scripts/util/kconf_check -config- ${B} ${S} ${B} ${KBRANCH}",d )
|
cmd = bb.data.expand("cd ${B}/..; kconf_check -config- ${B} ${S} ${B} ${KBRANCH}",d )
|
||||||
ret, result = commands.getstatusoutput("%s%s" % (pathprefix, cmd))
|
ret, result = commands.getstatusoutput("%s%s" % (pathprefix, cmd))
|
||||||
|
|
||||||
bb.plain( "%s" % result )
|
bb.plain( "%s" % result )
|
||||||
|
|||||||
Reference in New Issue
Block a user