* EXTRA_OECONF uses --with-python=${PYTHON_DIR}
and PYTHON_DIR is a python evaluated. So unless
we have python-native built and installed in staging
we can not evaluate this variable. We move this
evaluation inside do_configure so that it gets
evluated after dependency is met.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
inherit distutils-base autotools native pkgconfig
-EXTRA_OECONF = "\
- --with-python=${PYTHON_DIR} \
- --without-debug \
- --without-legacy \
- --with-catalog \
- --without-docbook \
- --with-c14n \
-"
+do_configure_prepend () {
+ EXTRA_OECONF = "\
+ --with-python=${PYTHON_DIR} \
+ --without-debug \
+ --without-legacy \
+ --with-catalog \
+ --without-docbook \
+ --with-c14n \
+ "
+}
do_stage () {
oe_runmake install
require libxml2-native.inc
-PR = "r1"
+PR = "r2"