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"
15 export LANG=C KCFLAGS="-Wimplicit-fallthrough"
19 export CCACHE_DIR="${build_dir%/*}/.ccache"
20 export TMPDIR="${build_dir%/*}/tmp"
24 echo Building: x86_64 modules_install
25 INSTALL_MOD_PATH="${build_dir%/*}" /usr/bin/time make ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu- O=../x86_64_allmodconfig -j$j_factor -O -s modules_install
27 echo Building: x86_64 allnoconfig
28 d=../x86_64_allnoconfig
29 [ -d \$d ] || mkdir \$d
30 make ARCH=x86_64 O=\$d CROSS_COMPILE=x86_64-linux-gnu- -s allnoconfig
31 make ARCH=x86_64 O=\$d CROSS_COMPILE=x86_64-linux-gnu- -j$j_factor -O -s
33 echo Building: powerpc allnoconfig
34 d=../powerpc_allnoconfig
35 [ -d \$d ] || mkdir \$d
36 make ARCH=powerpc -s O=\$d allnoconfig
37 make ARCH=powerpc O=\$d -j$j_factor -O -s
39 echo Building: powerpc64 allnoconfig
40 d=../powerpc64_allnoconfig
41 [ -d \$d ] || mkdir \$d
43 echo CONFIG_PPC64=y >\$e
44 echo CONFIG_SECTION_MISMATCH_WARN_ONLY=y >>\$e
45 KCONFIG_ALLCONFIG=\$e make ARCH=powerpc -s O=\$d allnoconfig
47 make ARCH=powerpc O=\$d -j$j_factor -O -s
49 echo Building: powerpc ppc44x_defconfig
50 d=../powerpc_ppc44x_defconfig
51 [ -d \$d ] || mkdir \$d
52 make ARCH=powerpc -s O=\$d ppc44x_defconfig
53 make ARCH=powerpc O=\$d -j$j_factor -O -s
55 echo Building: powerpc allyesconfig
56 d=../powerpc_allyesconfig
57 [ -d \$d ] || mkdir \$d
58 make ARCH=powerpc -s O=\$d allyesconfig
59 make ARCH=powerpc O=\$d -j$j_factor -O -s -k
61 echo Building: powerpc pseries_le_defconfig
62 d=../powerpc_pseries_le_defconfig
63 [ -d \$d ] || mkdir \$d
64 make ARCH=powerpc -s O=\$d pseries_le_defconfig
65 make ARCH=powerpc O=\$d -j$j_factor -O -s
67 echo Building: i386 defconfig
69 [ -d \$d ] || mkdir \$d
70 make ARCH=i386 O=\$d CROSS_COMPILE=x86_64-linux-gnu- -s defconfig
71 make ARCH=i386 O=\$d CROSS_COMPILE=x86_64-linux-gnu- -j$j_factor -O -s
76 for a in sparc64 sparc:sparc64
84 echo \$PATH | grep -q "\$HOME/bin" ||
85 export PATH="\$HOME/bin:\$PATH"
90 export CCACHE_DIR="${build_dir%/*}/.ccache"
91 export TMPDIR="${build_dir%/*}/tmp"
95 echo Building: $ka defconfig
97 cross -n -N -a ${ca} -k ${ka} -c $gcc_version -s O=$d defconfig
98 cross -n -N -a ${ca} -k ${ka} -c $gcc_version O=$d -j$j_factor -O -s