summaryrefslogtreecommitdiffstats
path: root/scripts/oe-buildenv-internal
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-31 22:54:16 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-04-01 11:44:24 +0100
commit02eacce4109e50f31fecb653de808f0c31ac68bb (patch)
treeda31b5266996ab811e2450258d8b2f3f38c8813e /scripts/oe-buildenv-internal
parent9333374605283c3c1b59cbce358b2f6764688c7c (diff)
downloadpoky-02eacce4109e50f31fecb653de808f0c31ac68bb.tar.gz
scripts/oe-buildenv-internal: Add pointer to scripts/install-buildtools
If the minimum python version isn't met, show a pointer to the new install-buildtools script. (From OE-Core rev: 38e3d5bd3d05ed00a2fc55e3729cb8a6d4e4132f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-buildenv-internal')
-rwxr-xr-xscripts/oe-buildenv-internal2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal
index c62688fbd2..ba0a9b44d6 100755
--- a/scripts/oe-buildenv-internal
+++ b/scripts/oe-buildenv-internal
@@ -34,7 +34,7 @@ fi
34# any other new feature use, just check the version here. 34# any other new feature use, just check the version here.
35py_v35_check=$(python3 -c 'import sys; print(sys.version_info >= (3,5,0))') 35py_v35_check=$(python3 -c 'import sys; print(sys.version_info >= (3,5,0))')
36if [ "$py_v35_check" != "True" ]; then 36if [ "$py_v35_check" != "True" ]; then
37 echo >&2 "BitBake requires Python 3.5.0 or later as 'python3'" 37 echo >&2 "BitBake requires Python 3.5.0 or later as 'python3 (scripts/install-buildtools can be used if needed)'"
38 return 1 38 return 1
39fi 39fi
40unset py_v35_check 40unset py_v35_check