* [PATCH] lib/oeqa: Regenerate galculator configure
@ 2016-09-27 12:18 Jussi Kukkonen
2016-09-27 12:48 ` [PATCHv2] " Jussi Kukkonen
0 siblings, 1 reply; 2+ messages in thread
From: Jussi Kukkonen @ 2016-09-27 12:18 UTC (permalink / raw)
To: openembedded-core
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@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCHv2] lib/oeqa: Regenerate galculator configure
2016-09-27 12:18 [PATCH] lib/oeqa: Regenerate galculator configure Jussi Kukkonen
@ 2016-09-27 12:48 ` Jussi Kukkonen
0 siblings, 0 replies; 2+ messages in thread
From: Jussi Kukkonen @ 2016-09-27 12:48 UTC (permalink / raw)
To: openembedded-core
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@intel.com>
---
Changes since v1:
* Use autoreconf instead of individual auto* scripts
meta/lib/oeqa/sdk/buildgalculator.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/meta/lib/oeqa/sdk/buildgalculator.py b/meta/lib/oeqa/sdk/buildgalculator.py
index be14d22..dc2fa9c 100644
--- a/meta/lib/oeqa/sdk/buildgalculator.py
+++ b/meta/lib/oeqa/sdk/buildgalculator.py
@@ -15,8 +15,11 @@ 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=("autoreconf -i -f -I ${OECORE_TARGET_SYSROOT}/usr/share/aclocal -I m4;")
+
+ 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-27 12:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-27 12:18 [PATCH] lib/oeqa: Regenerate galculator configure Jussi Kukkonen
2016-09-27 12:48 ` [PATCHv2] " Jussi Kukkonen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.