Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame^] | 1 | From 5bbf7a048b6d81d23186340e839f9f65b5b514b6 Mon Sep 17 00:00:00 2001 |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
| 3 | Date: Fri, 10 May 2019 16:19:54 +0800 |
| 4 | Subject: [PATCH] do not auto check var-PYTHON |
| 5 | |
| 6 | Upstream auto check the version of python rather than specify option |
| 7 | [ff6ff61 python: Auto-check for all installed python versions.] |
| 8 | |
| 9 | In oe-core, don't check var-PYTHON, use the setting from recipe, |
| 10 | only check specific python 2.7 and 3.7 |
| 11 | |
| 12 | Upstream-Status: Inappropriate [oe-core specific] |
| 13 | |
| 14 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame^] | 15 | |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 16 | --- |
| 17 | configure.ac | 4 ++-- |
| 18 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 19 | |
| 20 | diff --git a/configure.ac b/configure.ac |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame^] | 21 | index 5ef00c0..bbcff93 100644 |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 22 | --- a/configure.ac |
| 23 | +++ b/configure.ac |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame^] | 24 | @@ -425,8 +425,8 @@ if test "$found_py" = "1"; then |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 25 | if test "$found_py" = "1" -o "$found_py3" = "1"; then |
| 26 | # Reset everything, so that we can look for another Python. |
| 27 | m4_foreach([mym4pythonver], |
Andrew Geissler | c9f7865 | 2020-09-18 14:11:35 -0500 | [diff] [blame^] | 28 | - [[2.7],[3.4],[3.5],[3.6],[3.7],[3.8],[3.9],[all]], |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 29 | - [unset PYTHON |
| 30 | + [[2.7],[3.7]], |
| 31 | + [ |
| 32 | unset PYTHON_VERSION |
| 33 | unset PYTHON_CPPFLAGS |
| 34 | unset PYTHON_LDFLAGS |