summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-11 13:26:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-12 22:48:47 +0100
commitba17ce3f20b30887e0b54e9ec99565ec9a18d912 (patch)
tree391c1f181a63cb0291f4f48862c9fdb03bdd695b
parent7c2ff62cb42ac33c8261ee510d5237b9b59bc65f (diff)
downloadpoky-ba17ce3f20b30887e0b54e9ec99565ec9a18d912.tar.gz
oeqa/targetbuild: Ensure we run gnu-configize so config files are up to date
On aarch64 we need to do this as the versions in the upstream source don't recognise the target triplet causing SDK test failures. (From OE-Core rev: 2374bfa3b98f787f4559f14a60647e4c2b051274) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/utils/targetbuild.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oeqa/utils/targetbuild.py b/meta/lib/oeqa/utils/targetbuild.py
index 9d532e74d9..f850d78df1 100644
--- a/meta/lib/oeqa/utils/targetbuild.py
+++ b/meta/lib/oeqa/utils/targetbuild.py
@@ -55,8 +55,8 @@ class BuildProject():
55 55
56 # The timeout parameter of target.run is set to 0 to make the ssh command 56 # The timeout parameter of target.run is set to 0 to make the ssh command
57 # run with no timeout. 57 # run with no timeout.
58 def run_configure(self, configure_args=''): 58 def run_configure(self, configure_args='', extra_cmds=''):
59 return self._run('cd %s; ./configure %s' % (self.targetdir, configure_args)) 59 return self._run('cd %s; %s ./configure %s' % (self.targetdir, extra_cmds, configure_args))
60 60
61 def run_make(self, make_args=''): 61 def run_make(self, make_args=''):
62 return self._run('cd %s; make %s' % (self.targetdir, make_args)) 62 return self._run('cd %s; make %s' % (self.targetdir, make_args))
@@ -121,7 +121,7 @@ class SDKBuildProject(BuildProject):
121 self.targetdir = self.targetdir + self.fname 121 self.targetdir = self.targetdir + self.fname
122 122
123 def run_configure(self, configure_args=''): 123 def run_configure(self, configure_args=''):
124 return super(SDKBuildProject, self).run_configure(configure_args=(configure_args or '$CONFIGURE_FLAGS')) 124 return super(SDKBuildProject, self).run_configure(configure_args=(configure_args or '$CONFIGURE_FLAGS'), extra_cmds=' gnu-configize; ')
125 125
126 def run_install(self, install_args=''): 126 def run_install(self, install_args=''):
127 return super(SDKBuildProject, self).run_install(install_args=(install_args or "DESTDIR=%s/../install" % self.targetdir)) 127 return super(SDKBuildProject, self).run_install(install_args=(install_args or "DESTDIR=%s/../install" % self.targetdir))