mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 15:32:12 +02:00
meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)
sed \ -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data.expand *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -244,7 +244,7 @@ python do_kernel_configcheck() {
|
||||
bb.plain("NOTE: validating kernel configuration")
|
||||
|
||||
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 )
|
||||
cmd = d.expand("cd ${B}/..; kconf_check -config- ${B} ${S} ${B} ${KBRANCH}")
|
||||
ret, result = commands.getstatusoutput("%s%s" % (pathprefix, cmd))
|
||||
|
||||
bb.plain( "%s" % result )
|
||||
|
||||
Reference in New Issue
Block a user