From: Michael Ellerman Date: Fri, 12 Jun 2015 00:24:43 +0000 (+1000) Subject: do_build: Do the defconfigs first before forking X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=4613830b4a3d60a1a28c3719b4b7e91368782c71;p=next-scripts do_build: Do the defconfigs first before forking --- diff --git a/do_build b/do_build index 89a3d76..1a86eb0 100755 --- a/do_build +++ b/do_build @@ -27,28 +27,22 @@ ssh root@"$build_host" unshare -n su $(id -u -n) <<-EOF log_x86=\$d.log e=\$d.except echo CONFIG_BUILD_DOCSRC=n >\$e - { - KCONFIG_ALLCONFIG=\$e cross -n -N -a x86_64 -c $gcc_version O=\$d allyesconfig - /usr/bin/time cross -n -N -a x86_64 -c $gcc_version O=\$d -j$j_factor -s - } > \$log_x86 2>&1 & + KCONFIG_ALLCONFIG=\$e cross -n -N -a x86_64 -c $gcc_version O=\$d allyesconfig + /usr/bin/time cross -n -N -a x86_64 -c $gcc_version O=\$d -j$j_factor -s > \$log_x86 2>&1 & echo Building: powerpc ppc64_defconfig d=../powerpc_ppc64_defconfig [ -d \$d ] || mkdir \$d log_ppc=\$d.log - { - cross -n -N -a powerpc64 -k powerpc -c $gcc_version O=\$d ppc64_defconfig - /usr/bin/time cross -n -N -a powerpc64 -k powerpc -c $gcc_version O=\$d -j$j_factor -s - } > \$log_ppc 2>&1 & + cross -n -N -a powerpc64 -k powerpc -c $gcc_version O=\$d ppc64_defconfig + /usr/bin/time cross -n -N -a powerpc64 -k powerpc -c $gcc_version O=\$d -j$j_factor -s > \$log_ppc 2>&1 & echo Building: arm multi_v7_defconfig d=../arm_multi_v7_defconfig [ -d \$d ] || mkdir \$d log_arm=\$d.log - { - cross -n -N -a arm -c $gcc_version O=\$d multi_v7_defconfig - /usr/bin/time cross -n -N -a arm -c $gcc_version O=\$d -j$j_factor -s - } > \$log_arm 2>&1 & + cross -n -N -a arm -c $gcc_version O=\$d multi_v7_defconfig + /usr/bin/time cross -n -N -a arm -c $gcc_version O=\$d -j$j_factor -s > \$log_arm 2>&1 & wait %3 rc=\$?