]> code.ossystems Code Review - openembedded-core.git/commitdiff
python: use correct autotools variables
authorRoss Burton <ross.burton@intel.com>
Tue, 26 Nov 2019 10:45:30 +0000 (10:45 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Nov 2019 17:37:17 +0000 (17:37 +0000)
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

index 5807f63db448d4099276a7b991a8351a6af42bb6..b3bdcba1a896907da908c4717497b6ddd46d94f3 100644 (file)
@@ -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"