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 \$PATH | grep -q "\$HOME/bin" || export PATH="\$HOME/bin:\$PATH"
16 export CCACHE_DIR="${build_dir%/*}/.ccache"
17 export TMPDIR="${build_dir%/*}/tmp"
22 echo Building: powerpc ppc64_defconfig
23 d=../powerpc_ppc64_defconfig
24 [ -d \$d ] || mkdir \$d
25 cross -n -N -a powerpc64 -k powerpc -c 4.9.0 O=\$d ppc64_defconfig
26 cross -n -N -a powerpc64 -k powerpc -c 4.9.0 O=\$d -j48 -s
28 echo Building: x86_64 allmodconfig
29 d=../x86_64_allmodconfig
30 [ -d \$d ] || mkdir \$d
31 cross -n -N -a x86_64 -c 4.9.0 O=\$d allmodconfig
32 cross -n -N -a x86_64 -c 4.9.0 O=\$d -j48 -s
34 echo Building: arm multi_v7_defconfig
35 d=../arm_multi_v7_defconfig
36 [ -d \$d ] || mkdir \$d
37 cross -n -N -a arm -c 4.9.0 O=\$d multi_v7_defconfig
38 cross -n -N -a arm -c 4.9.0 O=\$d -j48 -s