sh-elf-vhex - v1.2.0-rc2 : fix GCC build

*fix*
> [scripts/gcc/configure]
  | proper generate indication file even if sh-elf-vhex binaries are detected
This commit is contained in:
Yann MAGNIN 2023-01-13 15:34:32 +01:00
parent a6483e73e3
commit 9b06308482
1 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,8 @@ if [[ -f "$existing_gcc" ]]; then
existing_version=$($existing_gcc --version | head -n 1 | grep -Eo '[0-9.]+$')
if [[ $existing_version == $VERSION ]]; then
echo "$TAG Version $VERSION already installed, skipping rebuild"
mkdir -p ../../build/gcc/
touch ../../build/gcc/.fini
exit 0
fi
[[ -d ../../build/gcc/build ]] && rm -rf ../../build/gcc/build