openwrt/scripts
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
..
config build: scripts/config - update to kconfig-v5.14 2022-02-19 13:10:01 +01:00
flashing scripts: eva_ramboot.py: remove unused import 2021-10-30 15:00:22 +02:00
arm-magic.sh
brcmImage.pl
bundle-libraries.sh scripts: bundle-libraries.sh: fix broken SDK compiler 2020-11-02 08:39:49 +01:00
cfe-bin-header.py scripts: cfe-bin-header: fix shebang 2020-05-19 08:05:22 +02:00
cfe-partition-tag.py scripts: add CFE Partition Tags support 2020-05-21 19:11:24 +02:00
cfe-wfi-tag.py scripts: cfe-wfi-tag: fix shebang 2020-05-19 08:06:29 +02:00
check-toolchain-clean.sh check-toolchain-clean.sh: workaround stray rebuilds 2022-02-28 15:17:11 +01:00
checkpatch.pl scripts: fix various typos 2021-10-31 21:24:47 +01:00
clean-package.sh
cleanfile
cleanpatch
combined-ext-image.sh build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
combined-image.sh build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
command_all.sh treewide: drop use of which 2022-01-17 09:14:26 +01:00
config.guess scripts: config.guess: update to 2021-05-24 2021-05-29 13:03:07 +02:00
config.rpath
config.sub scripts: config.guess: update to 2021-05-24 2021-05-29 13:03:07 +02:00
const_structs.checkpatch scripts: add const_structs.checkpatch for checkpatch.pl 2020-11-18 21:50:58 +01:00
deptest.sh
diffconfig.sh scripts/diffconfig.sh: ensure config/conf is built 2022-02-26 13:36:30 +01:00
dl_cleanup.py scripts: handle gcc and linux in dl_cleanup script 2021-09-22 22:24:39 -10:00
dl_github_archive.py scripts: fix various typos 2021-10-31 21:24:47 +01:00
download.pl treewide: drop use of which 2022-01-17 09:14:26 +01:00
dump-target-info.pl scripts: dump-target-info print kernel versions 2021-12-29 14:06:10 +01:00
env scripts/env: fix env for git conf init.defaultBranch not set to "master" 2021-11-13 10:29:41 -10:00
ext-toolchain.sh scripts: fix various typos 2021-10-31 21:24:47 +01:00
feeds feeds: use git-src-full to allow Git versioning 2022-02-15 00:24:24 +01:00
fixup-makefile.pl
functions.sh images: Fix sysupgrade.tar for devices with NOR flash 2020-12-22 19:11:50 +01:00
gen-dependencies.sh
gen_image_generic.sh scripts/gen_image_generic.sh: fix more shellcheck warnings 2020-07-11 14:42:32 +02:00
get_source_date_epoch.sh build: get_source_date_epoch allow external repos 2020-08-31 11:18:06 +01:00
getver.sh scripts/getver.sh: silence rev-list errors 2020-11-02 08:39:49 +01:00
ipkg-build scripts,ipkg-build: use realpath for pkg_dir 2021-03-14 19:32:30 -10:00
ipkg-make-index.sh build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
ipkg-remove
json_add_image_info.py build: store source_date_epoch as integer 2022-02-14 14:40:34 +01:00
json_overview_image_info.py scripts: fix various typos 2021-10-31 21:24:47 +01:00
kconfig.pl scripts/kconfig.pl: allow regex syntax in filtering out config entries 2020-11-13 13:17:53 +01:00
linksys-image.sh scripts: fix various typos 2021-10-31 21:24:47 +01:00
make-ipkg-dir.sh
md5sum
metadata.pm base-files, metadata: support additional group membership 2021-10-28 16:27:21 +01:00
mkhash.c scripts: add -N option to mkhash for printing without newline 2020-12-22 19:11:50 +01:00
mkits-qsdk-ipq-image.sh
mkits.sh scripts: mkits.sh: Allow legacy @ mode for dts creation 2021-09-23 20:49:32 +02:00
om-fwupgradecfg-gen.sh build: introduce $(MKHASH) 2021-05-13 15:13:15 +02:00
package-metadata.pl scripts: package-metadata add pkgmanifestjson call 2021-09-23 21:57:22 -10:00
pad_image scripts: fix various typos 2021-10-31 21:24:47 +01:00
patch-kernel.sh
patch-specs.sh
portable_date.sh
qemustart Revert "ethtool: update to v5.14" 2021-10-23 21:39:00 +02:00
redboot-script.pl
relink-lib.sh
remote-gdb
rstrip.sh scripts/rstrip.sh: do not strip .o files with STRIP_KMOD 2021-10-11 11:49:14 +02:00
sercomm-crypto.py scripts: support Sercomm crypto 2020-06-02 08:37:54 +02:00
sercomm-partition-tag.py scripts: support Sercomm partition tags 2020-06-02 08:33:11 +02:00
sercomm-payload.py scripts: support Sercomm load tags 2020-06-02 13:06:42 +02:00
sign_images.sh scripts: fix various typos 2021-10-31 21:24:47 +01:00
size_compare.sh scripts: fix various typos 2021-10-31 21:24:47 +01:00
slugimage.pl scripts: fix various typos 2021-10-31 21:24:47 +01:00
spelling.txt scripts: add spelling.txt for checkpatch.pl 2020-11-12 18:21:55 +01:00
srecimage.pl
strip-kmod.sh
symlink-tree.sh
sysupgrade-tar.sh
target-metadata.pl base-files: add eMMC sysupgrade support 2021-12-02 20:42:58 +00:00
time.pl
timestamp.pl
ubinize-image.sh treewide: drop use of which 2022-01-17 09:14:26 +01:00