]> code.ossystems Code Review - openembedded-core.git/commit
perf: change dependencies on python to python3
authorBruce Ashfield <bruce.ashfield@gmail.com>
Thu, 29 Aug 2019 02:14:41 +0000 (22:14 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 Aug 2019 16:10:23 +0000 (17:10 +0100)
commit584af667e0000129bcb5c9e8108485f2f6590eaf
tree85f57299b5e1025cc65cbccccd3be259c982d5f0
parent6745088b6c9e5c70df59d667347ede470df9a91d
perf: change dependencies on python to python3

The upstream kernel can now handle python3 for the perf scripts, coupled
with the impending EOL of python2, we switch the dependencies in perf
(scripting) to python3.

Outside of dependency changes, we also pass the following two variables
to the perf build: PYTHON=python3 PYTHON_CONFIG=python3-config. To
ensure that our python3 components are used.

For configurations that disable perf scripting, there is no change in
behaviour.

[YOCTO #13358]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/perf/perf.bb