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