For compiling the linux kernel, If I do
make_runner.sh && echo "hello"
it prints hello even if some of the kernel compilation fails.
Is there a way for it to only print if all of the compilation targets built correctly?
Where make_runner.sh is the following:
#!/usr/bin/env bash
set -xe
make O=out ARCH=arm64 CC=clang CLANG_TRIPLE=aarch64-linux-gnu- vendor/citrus-perf_defconfig
make O=out ARCH=arm64 CC=clang CLANG_TRIPLE=aarch64-linux-gnu- -j$(nproc --all) 2>&1 | tee kernel.log