From patchwork Fri Apr 26 16:40:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Jackson X-Patchwork-Id: 10919389 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2C7E714C0 for ; Fri, 26 Apr 2019 16:42:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1ABE228DEB for ; Fri, 26 Apr 2019 16:42:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0CDE128E04; Fri, 26 Apr 2019 16:42:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A31E928DEB for ; Fri, 26 Apr 2019 16:42:45 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hK3vA-00009h-2c; Fri, 26 Apr 2019 16:41:56 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hK3v8-00007s-Dt for xen-devel@lists.xenproject.org; Fri, 26 Apr 2019 16:41:54 +0000 X-Inumbo-ID: 322a8b0a-6842-11e9-9f0a-23698108754f Received: from SMTP03.CITRIX.COM (unknown [162.221.156.55]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 322a8b0a-6842-11e9-9f0a-23698108754f; Fri, 26 Apr 2019 16:41:53 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.60,398,1549929600"; d="scan'208";a="84519775" From: Ian Jackson To: Date: Fri, 26 Apr 2019 17:40:02 +0100 Message-ID: <20190426164002.22381-16-ian.jackson@eu.citrix.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190426164002.22381-1-ian.jackson@eu.citrix.com> References: <20190426164002.22381-1-ian.jackson@eu.citrix.com> MIME-Version: 1.0 Subject: [Xen-devel] [OSSTEST PATCH 15/15] ts-kernel-build: Move main program to bottom of script X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP Having it in the middle makes it quite hard to find ! No functional change. Signed-off-by: Ian Jackson --- ts-kernel-build | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/ts-kernel-build b/ts-kernel-build index 29c6c43d..b9ba9ef5 100755 --- a/ts-kernel-build +++ b/ts-kernel-build @@ -466,20 +466,6 @@ sub fwinstall () { END } -checkarch(); -checkout(); -config(); -build(); -kinstall(); -if ($r{tree_linuxfirmware}) { - fwbuild(); - fwinstall(); -} -built_stash($ho, $builddir, 'dist', 'kerndist'); -built_stash_debugfile($ho, $builddir, 'vmlinux', 'linux/vmlinux'); -built_compress_stashed('vmlinux'); -built_stash_debugfile($ho, $builddir, 'config', 'linux/.config'); - sub enable_xen_config () { return <<'END'; #!/bin/sh @@ -633,3 +619,17 @@ setopt CONFIG_TEGRA_HOST1X n exit 0 END } + +checkarch(); +checkout(); +config(); +build(); +kinstall(); +if ($r{tree_linuxfirmware}) { + fwbuild(); + fwinstall(); +} +built_stash($ho, $builddir, 'dist', 'kerndist'); +built_stash_debugfile($ho, $builddir, 'vmlinux', 'linux/vmlinux'); +built_compress_stashed('vmlinux'); +built_stash_debugfile($ho, $builddir, 'config', 'linux/.config');