Petr Štetiar 57f7a86c68 check-toolchain-clean.sh: workaround stray rebuilds
It seems, that there are currently some unhandled corner cases in which
`.toolchain_build_ver` results in empty file and thus forcing rebuilds,
even if the toolchain was build correctly just a few moments ago. Until
proper fix is found, workaround that by checking for this corner case
and simply populate `.toolchain_build_ver` file.

While at it, improve the UX and display version mismatch, so it's more
clear what has forced the rebuild:

 "Toolchain build version changed (11.2.0-1 != ), running make targetclean"

References: https://gitlab.com/ynezz/openwrt/-/jobs/2133332533/raw
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-02-28 15:17:11 +01:00
..
2021-10-31 21:24:47 +01:00
2021-05-13 15:13:15 +02:00
2022-01-17 09:14:26 +01:00
2022-01-17 09:14:26 +01:00
2021-10-31 21:24:47 +01:00
2021-05-13 15:13:15 +02:00
2021-10-31 21:24:47 +01:00
2016-03-24 22:40:13 +01:00
2021-10-31 21:24:47 +01:00
2021-10-23 21:39:00 +02:00
2021-10-31 21:24:47 +01:00
2021-10-31 21:24:47 +01:00
2021-10-31 21:24:47 +01:00
2022-01-17 09:14:26 +01:00