diff mbox series

[5/6] python: use correct autotools variables

Message ID 20191127140030.7838-5-ross.burton@intel.com
State Accepted
Commit 260804462766116941a1d9100ef8be3e66b93300
Headers show
Series [1/6] python: no need to add HOSTPGEN | expand

Commit Message

Ross Burton Nov. 27, 2019, 2 p.m. UTC
Use EXTRA_OECONF and CACHED_CONFIGUREVARS as nature intended.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/recipes-devtools/python/python_2.7.17.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

-- 
2.20.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

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"