]> xenbits.xensource.com Git - people/dariof/osstest.git/commitdiff
ts-xen-build: Allow specification of make targets
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 14 Jul 2014 12:01:37 +0000 (13:01 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 16 Jul 2014 10:30:10 +0000 (11:30 +0100)
This allows sg-run-job (or a manual caller of ts-xen-build) to specify
which target(s) to pass to `make'.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
ts-xen-build

index 391327335caaa3484122e692d6420071ea3a14c1..7c9e8040dece1a9d692870a90ccd666270deb051 100755 (executable)
@@ -25,6 +25,7 @@ use Osstest::BuildSupport;
 
 tsreadconfig();
 selectbuildhost(\@ARGV);
+# remaining arguments are passed as targets to "make"
 builddirsprops();
     
 sub checkout () {
@@ -108,7 +109,7 @@ END
 END
 #/;
     buildcmd_stamped_logged(9000, 'build', '',<<END,'');
-            make $makeflags
+            make $makeflags @ARGV
 END
 }