From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: [PATCH OSSTEST v2 4/4] ts-xen-build: Drop ability to build kernels Date: Thu, 20 Mar 2014 15:56:28 +0000 Message-ID: <1395330988-4613-4-git-send-email-ian.campbell@citrix.com> References: <1395229554.10203.74.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1395229554.10203.74.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.jackson@eu.citrix.com Cc: Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org These are now all handled by ts-kernel-build. We continue to specify KERNELS='' so that when building ancient versions of Xen they won't try and build anything. Signed-off-by: Ian Campbell --- v2: Keep KERNELS='' --- ts-xen-build | 60 ++++++------------------------------------------------------ 1 file changed, 6 insertions(+), 54 deletions(-) diff --git a/ts-xen-build b/ts-xen-build index 7bc7cbc..e67e29c 100755 --- a/ts-xen-build +++ b/ts-xen-build @@ -35,21 +35,10 @@ my $builddir= "$homedir/$leaf"; my $makeflags= get_host_property($ho, 'build make flags', '-j4'); sub checkout () { - my $kerns= $r{xen_kernels}; - $kerns='' unless defined $kerns; - $kerns =~ s/,/ /g; - target_cmd($ho, "rm -rf $builddir && mkdir $builddir", 60); build_clone($ho, 'xen', $builddir, 'xen-unstable'); - my $linux_url_envvar= 'XEN_LINUX_GIT_URL'; - my $linux_rev_envvar= 'XEN_LINUX_GITREV'; - if (defined $r{tree_linux} && $r{tree_linux} =~ m/\.hg$/) { - $linux_url_envvar= 'XEN_LINUX_HGREPO'; - $linux_rev_envvar= 'XEN_LINUX_HGREV'; - } - my $debug_build = $r{xen_build_debug} || 'y'; # Do not set this unless you know what you are doing. This arm @@ -67,6 +56,7 @@ sub checkout () { echo >>.config GIT_HTTP=y echo >>.config LIBLEAFDIR_x86_64=lib echo >>.config QEMU_REMOTE='$r{tree_qemu}' + echo >>.config KERNELS='' END (nonempty($r{revision_qemu}) ? <>.config QEMU_TAG='$r{revision_qemu}' @@ -83,20 +73,9 @@ END (nonempty($earlyprintk) ? <>.config CONFIG_EARLY_PRINTK=$earlyprintk END - (nonempty($r{tree_linux}) ? <>.config export $linux_url_envvar='$r{tree_linux}' -END - (nonempty($r{revision_linux}) ? <>.config export $linux_rev_envvar='$r{revision_linux}' -END - ($ho->{Suite} =~ m/squeeze|wheezy/ ? <{Suite} =~ m/squeeze|wheezy/ ? <>.config PYTHON_PREFIX_ARG= END - (nonempty($kerns) ? <>.config KERNELS='$kerns' -END - echo >>.config KERNELS='' -END ); } @@ -155,50 +134,24 @@ sub collectversion_qemu () { store_revision($ho, 'seabios', "$tools/seabios-dir", 1); } -sub collectversions_kernel () { - my $whichkerns= target_cmd_output($ho, <