diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-11-25 18:22:23 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-09 10:21:51 +0000 |
commit | 2b2be8086e66c0017eba57cac042466208b51583 (patch) | |
tree | eaa162fdb7d71a2de7224fc9f75c3643812065cf /scripts/oe-buildenv-internal | |
parent | ed884c585f90dfc352041c258802cf90d73914f2 (diff) | |
download | poky-2b2be8086e66c0017eba57cac042466208b51583.tar.gz |
hosttools: no longer check for or provide host python 2 to builds
(From OE-Core rev: 5f8f16b17f66966ae91aeabc23e97de5ecd17447)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-buildenv-internal')
-rwxr-xr-x | scripts/oe-buildenv-internal | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal index 96bb0c3dc9..c17cf4da71 100755 --- a/scripts/oe-buildenv-internal +++ b/scripts/oe-buildenv-internal | |||
@@ -29,13 +29,6 @@ if [ -z "$OE_SKIP_SDK_CHECK" ] && [ -n "$OECORE_SDK_VERSION" ]; then | |||
29 | return 1 | 29 | return 1 |
30 | fi | 30 | fi |
31 | 31 | ||
32 | py_v27_check=$(python2 -c 'import sys; print sys.version_info >= (2,7,3)') | ||
33 | if [ "$py_v27_check" != "True" ]; then | ||
34 | echo >&2 "OpenEmbedded requires 'python' to be python v2 (>= 2.7.3), not python v3." | ||
35 | echo >&2 "Please upgrade your python v2." | ||
36 | fi | ||
37 | unset py_v27_check | ||
38 | |||
39 | # We potentially have code that doesn't parse correctly with older versions | 32 | # We potentially have code that doesn't parse correctly with older versions |
40 | # of Python, and rather than fixing that and being eternally vigilant for | 33 | # of Python, and rather than fixing that and being eternally vigilant for |
41 | # any other new feature use, just check the version here. | 34 | # any other new feature use, just check the version here. |