|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 07/13] ts-xen-build: Honour cmdprefix_configure, cmdprefix_make
These runvars can be set to specify a string (containing shell code)
to be prefixed to the executions of ./configure and make.
If not set, the behaviour is as as before.
Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
ts-xen-build | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/ts-xen-build b/ts-xen-build
index 7c9e804..661f186 100755
--- a/ts-xen-build
+++ b/ts-xen-build
@@ -94,6 +94,9 @@ sub build () {
my $xend_opt= $r{enable_xend} =~ m/true/ ? "--enable-xend" :
"--disable-xend";
my $ovmf_opt= $r{enable_ovmf} =~ m/true/ ? "--enable-ovmf" :
"--disable-ovmf";
+ my $configure_prefix = $r{cmdprefix_configure} // '';
+ my $make_prefix = $r{cmdprefix_make} // '';
+
buildcmd_stamped_logged(600, 'configure', <<END,<<END,<<END);
if test -f configure; then
if grep -q -- $xend_opt tools/configure ; then
@@ -103,13 +106,13 @@ sub build () {
ovmf=$ovmf_opt
fi
END
- ./configure --sysconfdir=/etc \$xend \$ovmf
+ $configure_prefix ./configure --sysconfdir=/etc \$xend \$ovmf
END
fi
END
#/;
buildcmd_stamped_logged(9000, 'build', '',<<END,'');
- make $makeflags @ARGV
+ $make_prefix make $makeflags @ARGV
END
}
--
1.7.10.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |