diff options
author | Ross Burton <ross@burtonini.com> | 2020-10-16 10:21:21 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-17 23:22:15 +0100 |
commit | 802e80d35e6374b9b80f89068d00b84fe2d04ca1 (patch) | |
tree | 6df831ae03a85fe4622533ee245e975055f5ab9f /meta/classes/setuptools3.bbclass | |
parent | e218c2d8973ed9978eed279dd167779e459f1eb0 (diff) | |
download | openembedded-core-contrib-802e80d35e6374b9b80f89068d00b84fe2d04ca1.tar.gz |
waf: don't assume the waf intepretter is good
Waf typically uses `python` as the intepretter but inside a task this
does not exist. Typically this is solved by patching waf (see the
glmark2 recipe) but not all versionf of Waf support Python 3 so we can't
assume a specific interpretter.
Instead, create a new variable WAF_PYTHON for the correct interpretter,
and default this to `python3`. If the user has a recipe that needs
Python 2 then this can be changed in the recipe.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/setuptools3.bbclass')
0 files changed, 0 insertions, 0 deletions