[OE-core] [PATCH 5/6] python: use correct autotools variables

Ross Burton ross.burton at intel.com
Wed Nov 27 14:00:29 UTC 2019


Use EXTRA_OECONF and CACHED_CONFIGUREVARS as nature intended.

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-devtools/python/python_2.7.17.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python_2.7.17.bb b/meta/recipes-devtools/python/python_2.7.17.bb
index 5807f63db44..b3bdcba1a89 100644
--- a/meta/recipes-devtools/python/python_2.7.17.bb
+++ b/meta/recipes-devtools/python/python_2.7.17.bb
@@ -36,9 +36,11 @@ S = "${WORKDIR}/Python-${PV}"
 
 inherit autotools multilib_header python-dir pythonnative ptest
 
-CONFIGUREOPTS += " --with-system-ffi "
+EXTRA_OECONF += "--with-system-ffi"
 
-EXTRA_OECONF += "ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no ac_cv_working_tzset=yes"
+CACHED_CONFIGUREVARS = "ac_cv_file__dev_ptmx=yes \
+                        ac_cv_file__dev_ptc=no \
+                        ac_cv_working_tzset=yes"
 
 PACKAGECONFIG ??= "bdb"
 PACKAGECONFIG[bdb] = ",,db"
-- 
2.20.1



More information about the Openembedded-core mailing list