This will make life more convenient in a moment.

Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
 Osstest/BuildSupport.pm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Osstest/BuildSupport.pm b/Osstest/BuildSupport.pm
index 7e114cf..4c2b658 100644
--- a/Osstest/BuildSupport.pm
+++ b/Osstest/BuildSupport.pm
@@ -38,6 +38,7 @@ BEGIN {
                       builddirsprops
                       buildcmd_stamped_logged
                       $builddir $makeflags
+                     $buildcmd_global_prefix
 
                       prepbuilddirs
 
@@ -57,10 +58,13 @@ our ($whhost,$ho);
 our ($builddir,$makeflags);
 our ($xendist);
 
+our $buildcmd_global_prefix //= '';
+
 sub buildcmd_stamped_logged ($$$$$$) {
     my ($timeout, $component, $stampname, $prefix, $cmd, $suffix) = @_;
     target_cmd_build($ho, $timeout, $builddir, <<END);
         cd $component
+        $buildcmd_global_prefix
         $prefix
         ( $cmd 2>&1 &&             touch ../$stampname-ok-stamp
         ) |tee ../$stampname-log
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to