util/abuild: Group printfs to timestamps file together
This fixes the abuild warning/suggestion. Change-Id: I3a28811becfde69c3e539406bde5938445f16c29 Signed-off-by: Martin Roth <gaumless@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/87374 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
ad19c94d87
commit
52b932df3b
1 changed files with 7 additions and 5 deletions
|
|
@ -426,11 +426,13 @@ compile_target()
|
|||
cd "${build_dir}" || return $?
|
||||
|
||||
timestamps="abuild.timestamps"
|
||||
printf "Build started %s\n" "${ts_basetime_str}" > "${timestamps}"
|
||||
printf "BASETIME_SECONDS %d\n" ${ts_exec_shell} >> "${timestamps}"
|
||||
printf "TS_0 %d\n" ${ts_0} >> "${timestamps}"
|
||||
printf "TS_1 %d\n" ${ts_1} >> "${timestamps}"
|
||||
printf "TS_2 %d\n" ${ts_2} >> "${timestamps}"
|
||||
{
|
||||
printf "Build started %s\n" "${ts_basetime_str}"
|
||||
printf "BASETIME_SECONDS %d\n" ${ts_exec_shell}
|
||||
printf "TS_0 %d\n" ${ts_0}
|
||||
printf "TS_1 %d\n" ${ts_1}
|
||||
printf "TS_2 %d\n" ${ts_2}
|
||||
} > "${timestamps}"
|
||||
|
||||
duration=$(ts_delta_seconds ${ts_0} ${ts_2})
|
||||
duration_str=$(ts_delta_string ${ts_0} ${ts_2})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue