summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/download/crossgcc
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/helpers/download/crossgcc')
-rwxr-xr-xresources/scripts/helpers/download/crossgcc10
1 files changed, 3 insertions, 7 deletions
diff --git a/resources/scripts/helpers/download/crossgcc b/resources/scripts/helpers/download/crossgcc
index 853e3fd..c53f626 100755
--- a/resources/scripts/helpers/download/crossgcc
+++ b/resources/scripts/helpers/download/crossgcc
@@ -36,16 +36,12 @@ fi
crossgccrevision="4351ace145c4069f9c93ca7541d6dfaf8300b53b"
rm -Rf "crossgcc/"
-mkdir -p "crossgcc/"
(
+ git clone https://review.coreboot.org/coreboot crossgcc || git clone https://github.com/coreboot/coreboot.git crossgcc
cd "crossgcc/"
- git clone https://review.coreboot.org/coreboot || git clone https://github.com/coreboot/coreboot.git
- cd "coreboot/"
git reset --hard ${crossgccrevision}
- mkdir -p "../util/"
- mv "util/crossgcc/" "../util/"
- cd "../"
- rm -Rf "coreboot/"
+ rm -Rf .git* */*/.git*
+ rm -Rf "3rdparty/"
)
printf "Deblobbing coreboot\n"