- e=\$d.except
- echo CONFIG_PROFILE_ALL_BRANCHES=n >\$e
- echo CONFIG_DEBUG_INFO=n >>\$e
- KCONFIG_ALLCONFIG=\$e \
- cross -n -N -k powerpc -a powerpc64 -c 4.8 O=\$d allyesconfig
- rm \$e
- cross -n -N -k powerpc -a powerpc64 -c 4.8 -- O=\$d -j64 -s -k || true
+ make ARCH=powerpc -s O=\$d pseries_le_defconfig
+ make ARCH=powerpc O=\$d -j$j1_factor -O -s
+
+ echo Building: i386 defconfig
+ d=../i386_defconfig
+ [ -d \$d ] || mkdir \$d
+ make ARCH=i386 O=\$d CROSS_COMPILE=x86_64-linux-gnu- -s defconfig
+ make ARCH=i386 O=\$d CROSS_COMPILE=x86_64-linux-gnu- -j$j1_factor -O -s
+
+ echo Building: arm64 defconfig
+ d=../arm64_defconfig
+ [ -d \$d ] || mkdir \$d
+ make ARCH=arm64 O=\$d CROSS_COMPILE=aarch64-linux-gnu- -s defconfig
+ make ARCH=arm64 O=\$d CROSS_COMPILE=aarch64-linux-gnu- -j$j1_factor -O -s
+
+ echo Building: sparc64 defconfig
+ d=../sparc64_defconfig
+ [ -d \$d ] || mkdir \$d
+ cross -n -N -a sparc64 -k sparc64 -c $gcc_version -s O=\$d defconfig
+ cross -n -N -a sparc64 -k sparc64 -c $gcc_version O=\$d -j$j1_factor -O -s
+
+ echo Building: sparc defconfig
+ d=../sparc_defconfig
+ [ -d \$d ] || mkdir \$d
+ cross -n -N -a sparc64 -k sparc -c $gcc_version -s O=\$d defconfig
+ cross -n -N -a sparc64 -k sparc -c $gcc_version O=\$d -j$j1_factor -O -s
+
+ printf '\nWaiting for powerpc allyesconfig build\n\n'
+ wait
+
+ rm .scmversion
+
+ cat ../powerpc_allyesconfig.log