3 . "$(dirname $0)/common.sh"
9 cmd="ssh root@$build_host unshare -n su $(id -u -n)"
14 echo \$PATH | grep -q "\$HOME/bin" || export PATH="\$HOME/bin:\$PATH"
19 export CCACHE_DIR="${build_dir%/*}/.ccache"
20 export TMPDIR="${build_dir%/*}/tmp"
24 echo Building: powerpc allnoconfig
25 d=../powerpc_allnoconfig
26 [ -d \$d ] || mkdir \$d
27 cross -n -N -k powerpc -a powerpc64 -c 4.9.0 O=\$d allnoconfig
28 cross -n -N -k powerpc -a powerpc64 -c 4.9.0 O=\$d -j48 -s
30 echo Building: powerpc64 allnoconfig
31 d=../powerpc64_allnoconfig
32 [ -d \$d ] || mkdir \$d
34 echo CONFIG_PPC64=y >\$e
35 KCONFIG_ALLCONFIG=\$e \
36 cross -n -N -k powerpc -a powerpc64 -c 4.9.0 O=\$d allnoconfig
38 cross -n -N -k powerpc -a powerpc64 -c 4.9.0 O=\$d -j48 -s
40 echo Building: powerpc ppc44x_defconfig
41 d=../powerpc_ppc44x_defconfig
42 [ -d \$d ] || mkdir \$d
43 cross -n -N -k powerpc -a powerpc64 -c 4.9.0 O=\$d ppc44x_defconfig
44 cross -n -N -k powerpc -a powerpc64 -c 4.9.0 O=\$d -j48 -s
46 echo Building: powerpc allyesconfig
47 d=../powerpc_allyesconfig
48 [ -d \$d ] || mkdir \$d
49 cross -n -N -k powerpc -a powerpc64 -c 4.9.0 O=\$d allyesconfig
50 cross -n -N -k powerpc -a powerpc64 -c 4.9.0 -- O=\$d -j48 -s -k || true
55 for a in i386 sparc64 sparc:sparc64 arm
63 echo \$PATH | grep -q "\$HOME/bin" ||
64 export PATH="\$HOME/bin:\$PATH"
69 export CCACHE_DIR="${build_dir%/*}/.ccache"
70 export TMPDIR="${build_dir%/*}/tmp"
74 echo Building: $ka defconfig
76 cross -n -N -a ${ca} -k ${ka} -c 4.9.0 O=$d defconfig
77 cross -n -N -a ${ca} -k ${ka} -c 4.9.0 O=$d -j48 -s