1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

perf: Fix parsing error

Due to the use of ${@...} the code will try and expand this when
performing the initial parsing. If the sysroot doesn't exist with
an existing kernel, this will fail at parsing time.

Sinec we're already in python, just remove the ${@....} wrapping
and then we execute at do_package time which is what we want.

(From OE-Core rev: 053ca014e7eb8c9dd05cef42fe23f463f3eb15dd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2013-03-19 13:22:59 +00:00
parent a785a9d9af
commit 4b7a37e072
+1 -1
View File
@@ -105,7 +105,7 @@ do_configure_prepend () {
}
python do_package_prepend() {
bb.data.setVar('PKGV', '${@get_kernelversion('${S}').split("-")[0]}', d)
bb.data.setVar('PKGV', get_kernelversion('${S}').split("-")[0], d)
}
PACKAGE_ARCH = "${MACHINE_ARCH}"