diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-19 13:22:59 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-19 13:25:34 +0000 |
commit | 4b7a37e0729fba85646d4c4632afcc27086547f1 (patch) | |
tree | 1dbdccf310206e08c9b0cc616b9a4c555f61832a /meta | |
parent | a785a9d9aff97ae3ddde460474825be28c36009c (diff) | |
download | poky-4b7a37e0729fba85646d4c4632afcc27086547f1.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index 182dd25d6e..210c4cbf65 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
@@ -105,7 +105,7 @@ do_configure_prepend () { | |||
105 | } | 105 | } |
106 | 106 | ||
107 | python do_package_prepend() { | 107 | python do_package_prepend() { |
108 | bb.data.setVar('PKGV', '${@get_kernelversion('${S}').split("-")[0]}', d) | 108 | bb.data.setVar('PKGV', get_kernelversion('${S}').split("-")[0], d) |
109 | } | 109 | } |
110 | 110 | ||
111 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 111 | PACKAGE_ARCH = "${MACHINE_ARCH}" |