* [PATCH] oeqa/targetbuild: Ensure we run gnu-configize so config files are up to date
@ 2015-09-11 12:26 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2015-09-11 12:26 UTC (permalink / raw)
To: openembedded-core
On aarch64 we need to do this as the versions in the upstream source don't
recognise the target triplet causing SDK test failures.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diff --git a/meta/lib/oeqa/utils/targetbuild.py b/meta/lib/oeqa/utils/targetbuild.py
index 9d532e7..f850d78 100644
--- a/meta/lib/oeqa/utils/targetbuild.py
+++ b/meta/lib/oeqa/utils/targetbuild.py
@@ -55,8 +55,8 @@ class BuildProject():
# The timeout parameter of target.run is set to 0 to make the ssh command
# run with no timeout.
- def run_configure(self, configure_args=''):
- return self._run('cd %s; ./configure %s' % (self.targetdir, configure_args))
+ def run_configure(self, configure_args='', extra_cmds=''):
+ return self._run('cd %s; %s ./configure %s' % (self.targetdir, extra_cmds, configure_args))
def run_make(self, make_args=''):
return self._run('cd %s; make %s' % (self.targetdir, make_args))
@@ -121,7 +121,7 @@ class SDKBuildProject(BuildProject):
self.targetdir = self.targetdir + self.fname
def run_configure(self, configure_args=''):
- return super(SDKBuildProject, self).run_configure(configure_args=(configure_args or '$CONFIGURE_FLAGS'))
+ return super(SDKBuildProject, self).run_configure(configure_args=(configure_args or '$CONFIGURE_FLAGS'), extra_cmds=' gnu-configize; ')
def run_install(self, install_args=''):
return super(SDKBuildProject, self).run_install(install_args=(install_args or "DESTDIR=%s/../install" % self.targetdir))
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-09-11 12:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-11 12:26 [PATCH] oeqa/targetbuild: Ensure we run gnu-configize so config files are up to date Richard Purdie
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.