From 5504805f1b4f0c54ce116e77fff0cb96cf182863 Mon Sep 17 00:00:00 2001 From: Yann MAGNIN Date: Wed, 17 Nov 2021 21:12:42 +0100 Subject: [PATCH] fix GCC dependencies --- scripts/gcc/build.sh | 3 --- scripts/gcc/configure.sh | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/gcc/build.sh b/scripts/gcc/build.sh index 45d5a17..cc41378 100755 --- a/scripts/gcc/build.sh +++ b/scripts/gcc/build.sh @@ -66,9 +66,6 @@ fi mkdir -p ../../build/gcc/build cd ../../build/gcc/build -# Install dependencies -../gcc/contrib/download_prerequisites - # diff --git a/scripts/gcc/configure.sh b/scripts/gcc/configure.sh index 6bccca2..26eb500 100755 --- a/scripts/gcc/configure.sh +++ b/scripts/gcc/configure.sh @@ -121,6 +121,12 @@ cp -r ../../patchs/gcc/$VERSION/* ./gcc-$VERSION/ [[ -d ./gcc ]] && rm -rf ./gcc mv ./gcc-$VERSION/ ./gcc +# Install dependencies + +cd gcc +./contrib/download_prerequisites +cd .. + # Symlink as, ld, ar and ranlib, which gcc will not find by itself (we renamed # them from sh3eb-elf-* to sh-elf-* with --program-prefix).