From 59be96f4e2fccbb8878ddc91858d9f75cf360b03 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Mon, 26 May 2014 14:21:56 +1000 Subject: [PATCH] do_last_build: try to shorten the last build --- do_last_build | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/do_last_build b/do_last_build index 854d9a7..40dcd98 100755 --- a/do_last_build +++ b/do_last_build @@ -16,6 +16,8 @@ ssh root@"$build_host" unshare -n su $(id -u -n) <<-EOF export CCACHE_DIR="${build_dir%/*}/.ccache" export TMPDIR="${build_dir%/*}/tmp" + touch .scmversion + echo Building: powerpc allnoconfig d=../powerpc_allnoconfig [ -d \$d ] || mkdir \$d @@ -43,6 +45,8 @@ ssh root@"$build_host" unshare -n su $(id -u -n) <<-EOF [ -d \$d ] || mkdir \$d cross -n -N -k powerpc -a powerpc64 -c 4.8.1 O=\$d allyesconfig cross -n -N -k powerpc -a powerpc64 -c 4.8.1 -- O=\$d -j64 -s -k || true + + rm .scmversion EOF for a in i386 sparc64 sparc:sparc64 arm @@ -63,9 +67,13 @@ do export CCACHE_DIR="${build_dir%/*}/.ccache" export TMPDIR="${build_dir%/*}/tmp" + touch .scmversion + echo Building: $ka defconfig [ -d $d ] || mkdir $d cross -n -N -a ${ca} -k ${ka} -c 4.6 O=$d defconfig cross -n -N -a ${ca} -k ${ka} -c 4.6 O=$d -j64 -s + + rm .scmversion EOF done -- 2.39.2