summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-11-25 18:22:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-06 14:41:30 +0000
commit5f8f16b17f66966ae91aeabc23e97de5ecd17447 (patch)
tree6a262a743fddfb4be164c98b2c17acd74756d664 /scripts
parentd40853b10dd9f01d6a8dd4edcb941cfa8a544922 (diff)
downloadopenembedded-core-5f8f16b17f66966ae91aeabc23e97de5ecd17447.tar.gz
hosttools: no longer check for or provide host python 2 to builds
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-buildenv-internal7
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
return 1
fi
-py_v27_check=$(python2 -c 'import sys; print sys.version_info >= (2,7,3)')
-if [ "$py_v27_check" != "True" ]; then
- echo >&2 "OpenEmbedded requires 'python' to be python v2 (>= 2.7.3), not python v3."
- echo >&2 "Please upgrade your python v2."
-fi
-unset py_v27_check
-
# We potentially have code that doesn't parse correctly with older versions
# of Python, and rather than fixing that and being eternally vigilant for
# any other new feature use, just check the version here.