Patchwork python.inc: make lsb override more concise

login
register
mail settings
Submitter Richard Purdie
Date Nov. 13, 2012, 2:06 p.m.
Message ID <1352815584.24487.125.camel@ted>
Download mbox | patch
Permalink /patch/38927/
State Accepted
Commit 78ac027f2ac6c6663fff7080eabbd3d09c1241bb
Headers show

Comments

Richard Purdie - Nov. 13, 2012, 2:06 p.m.
No functionality change, just a readability improvement

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/recipes-devtools/python/python.inc b/meta/recipes-devtools/python/python.inc
index eee7a64..d0ed55b 100644
--- a/meta/recipes-devtools/python/python.inc
+++ b/meta/recipes-devtools/python/python.inc
@@ -16,6 +16,9 @@  PYTHON_MAJMIN = "2.7"
 
 inherit autotools
 
+PYTHONLSBOPTS = "--with-wctype-functions"
+PYTHONLSBOPTS_linuxstdbase = "ac_cv_sizeof_off_t=8"
+
 EXTRA_OECONF = "\
   --with-threads \
   --with-pymalloc \
@@ -24,14 +27,5 @@  EXTRA_OECONF = "\
   --with-signal-module \
   --with-wctype-functions \
   --enable-shared \
-"
-
-EXTRA_OECONF_linuxstdbase = "\
-  --with-threads \
-  --with-pymalloc \
-  --with-cyclic-gc \
-  --without-cxx \
-  --with-signal-module \
-  --enable-shared \
-  ac_cv_sizeof_off_t=8 \
+  ${PYTHONLSBOPTS} \
 "