[OE-core] [PATCH] lib/oeqa: Regenerate galculator configure
Jussi Kukkonen
jussi.kukkonen at intel.com
Tue Sep 27 12:18:56 UTC 2016
galculator configure seems to be so old it does not
recognise --with-libtool-sysroot: regenerate configure.
Fixes [YOCTO #10191].
Signed-off-by: Jussi Kukkonen <jussi.kukkonen at intel.com>
---
meta/lib/oeqa/sdk/buildgalculator.py | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oeqa/sdk/buildgalculator.py b/meta/lib/oeqa/sdk/buildgalculator.py
index be14d22..2629a55 100644
--- a/meta/lib/oeqa/sdk/buildgalculator.py
+++ b/meta/lib/oeqa/sdk/buildgalculator.py
@@ -15,8 +15,15 @@ class GalculatorTest(oeSDKTest):
project.download_archive()
- self.assertEqual(project.run_configure(), 0,
- msg="Running configure failed")
+ # regenerate configure to get support for --with-libtool-sysroot
+ legacy_preconf=("libtoolize --automake;"
+ "aclocal -I ${OECORE_TARGET_SYSROOT}/usr/share/aclocal -I m4;"
+ "autoconf;"
+ "autoheader;"
+ "automake -a;")
+
+ self.assertEqual(project.run_configure(extra_cmds=legacy_preconf),
+ 0, msg="Running configure failed")
self.assertEqual(project.run_make(), 0,
msg="Running make failed")
--
2.1.4
More information about the Openembedded-core
mailing list