xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Ian Jackson <ian.jackson@eu.citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: [OSSTEST PATCH v2 2/4] BuildSupport: Honour $buildcmd_global_prefix
Date: Tue, 8 Nov 2016 15:09:45 +0000	[thread overview]
Message-ID: <1478617787-20713-2-git-send-email-ian.jackson@eu.citrix.com> (raw)
In-Reply-To: <1478617787-20713-1-git-send-email-ian.jackson@eu.citrix.com>

This will make life more convenient in a moment.

Signed-off-by: Ian Jackson <Ian.Jackson@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	other threads:[~2016-11-08 15:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-08 15:09 [OSSTEST PATCH v2 1/4] xtf: Always boot with loglvl=all guest_loglvl=all Ian Jackson
2016-11-08 15:09 ` Ian Jackson [this message]
2016-11-08 15:09 ` [OSSTEST PATCH v2 3/4] ts-xen-build: Enable CONFIG_EXPERT Ian Jackson
2016-11-08 15:09 ` [OSSTEST PATCH v2 4/4] ts-xen-build: Enable CONFIG_VERBOSE_DEBUG Ian Jackson
2016-11-08 15:18   ` Andrew Cooper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1478617787-20713-2-git-send-email-ian.jackson@eu.citrix.com \
    --to=ian.jackson@eu.citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).