scripts: handle gcc and linux in dl_cleanup script
authorAnsuel Smith <ansuelsmth@gmail.com>
Tue, 6 Jul 2021 01:53:58 +0000 (03:53 +0200)
committerPaul Spooren <mail@aparcar.org>
Thu, 23 Sep 2021 08:24:39 +0000 (22:24 -1000)
commit93f488fc37d6cd1f54eaf69385fe9011fe6d3c59
tree98fc87e50e7eacafdaaba178478120c6b3c895ff
parent366be2183e90b6ea8110d7236f8a93c8028573f8
scripts: handle gcc and linux in dl_cleanup script

Handle gcc and linux with a special regex that set their progname with
their major version. This way every minor version can be cleared. The
build cleanup logic can be tweaked later to clean the entire toolchain
and target dir with a different gcc version.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
[reformat commit message]
Signed-off-by: Paul Spooren <mail@aparcar.org>
scripts/dl_cleanup.py