3 . "$(dirname $0)/common.sh"
7 ###ssh "$build_host" /bin/sh -e <<-EOF
8 ssh root@"$build_host" unshare -n su $(id -u -n) <<-EOF
11 echo Building on \$(hostname)
13 echo \$PATH | grep -q "\$HOME/bin" || export PATH="\$HOME/bin:\$PATH"
18 export CCACHE_DIR="${build_dir%/*}/.ccache"
19 export TMPDIR="${build_dir%/*}/tmp"
24 echo Building: powerpc ppc64_defconfig
25 d=../powerpc_ppc64_defconfig
26 [ -d \$d ] || mkdir \$d
27 cross -n -N -a powerpc64 -k powerpc -c $gcc_version O=\$d ppc64_defconfig
28 cross -n -N -a powerpc64 -k powerpc -c $gcc_version O=\$d -j$j_factor -s
30 echo Building: x86_64 allmodconfig
31 d=../x86_64_allmodconfig
32 [ -d \$d ] || mkdir \$d
33 cross -n -N -a x86_64 -c $gcc_version O=\$d allmodconfig
34 cross -n -N -a x86_64 -c $gcc_version O=\$d -j$j_factor -s
36 echo Building: arm multi_v7_defconfig
37 d=../arm_multi_v7_defconfig
38 [ -d \$d ] || mkdir \$d
39 cross -n -N -a arm -c $gcc_version O=\$d multi_v7_defconfig
40 cross -n -N -a arm -c $gcc_version O=\$d -j$j_factor -s