]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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:28 +0000 (17:10 +0100)
commite66d183b9e2cea67813b43bcb23622870102e9a3
treea021689aeb0f30ddf699f9c9357b948915fcefb6
parent4c62122ecbf20f8f4057446aa74d2c7d089180d6
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]

(From OE-Core rev: 584af667e0000129bcb5c9e8108485f2f6590eaf)

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