summaryrefslogtreecommitdiff
path: root/tcwg_kernel-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tcwg_kernel-build.sh')
-rwxr-xr-xtcwg_kernel-build.sh25
1 files changed, 11 insertions, 14 deletions
diff --git a/tcwg_kernel-build.sh b/tcwg_kernel-build.sh
index a5737837..7cdb9d4f 100755
--- a/tcwg_kernel-build.sh
+++ b/tcwg_kernel-build.sh
@@ -140,7 +140,6 @@ EOF
KBUILD_BUILD_TIMESTAMP=0 make $opts -j$(nproc --all) -s -k &
local res=0 && wait $! || res=$?
ccache -s
- cp include/config/kernel.release $run_step_artifacts/
return $res
)
}
@@ -151,19 +150,17 @@ count_linux_objs ()
(
set -euf -o pipefail
- if true; then
- build_linux &
- local res=0; wait $! || res=$?
-
- # Number of .o files created is the main success metric.
- echo "linux_n_obj:" >> ${rr[top_artifacts]}/results
- if [ $res != 0 ]; then
- local linux_n_obj
- linux_n_obj=$(find linux -name "*.o" | wc -l)
- echo "$linux_n_obj" >> ${rr[top_artifacts]}/results
- else
- echo "all" >> ${rr[top_artifacts]}/results
- fi
+ build_linux &
+ local res=0; wait $! || res=$?
+
+ # Number of .o files created is the main success metric.
+ echo "linux_n_obj:" >> ${rr[top_artifacts]}/results
+ if [ $res != 0 ]; then
+ local linux_n_obj
+ linux_n_obj=$(find linux -name "*.o" | wc -l)
+ echo "$linux_n_obj" >> ${rr[top_artifacts]}/results
+ else
+ echo "all" >> ${rr[top_artifacts]}/results
fi
)
}