mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 15:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
ed884c585f
commit
2b2be8086e
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user