diff mbox series

[OSSTEST,15/15] ts-kernel-build: Move main program to bottom of script

Message ID 20190426164002.22381-16-ian.jackson@eu.citrix.com (mailing list archive)
State Superseded
Headers show
Series Do armhf kernel builds on amd64 | expand

Commit Message

Ian Jackson April 26, 2019, 4:40 p.m. UTC
Having it in the middle makes it quite hard to find !

No functional change.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 ts-kernel-build | 28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)
diff mbox series

Patch

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');