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:19 +0100 |
commit | 85b6301c6190a1d1823de9bfe7285f7a7d15a46f (patch) | |
tree | 5a3f918b5328933725f34d7bf65a77d3a5a846bb /meta/classes/packagedata.bbclass | |
parent | 2b5c0c68a3983fbe8bc27cc02866f13920bc7eb0 (diff) | |
download | poky-85b6301c6190a1d1823de9bfe7285f7a7d15a46f.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.
(From OE-Core rev: 802e80d35e6374b9b80f89068d00b84fe2d04ca1)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/packagedata.bbclass')
0 files changed, 0 insertions, 0 deletions