diff options
author | Francis Rowe <info@gluglug.org.uk> | 2016-03-07 19:52:17 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2016-03-07 19:54:24 +0000 |
commit | fb9d0d76256caffc2c69104134a45191188953ac (patch) | |
tree | bba971f4ed168af4fe2d67c38c842d721cde3e19 /resources/scripts/helpers/download/crossgcc | |
parent | 89f01c4f795247b506df6ff0796ac9546cfaf7ce (diff) | |
download | librebootfr-fb9d0d76256caffc2c69104134a45191188953ac.tar.gz librebootfr-fb9d0d76256caffc2c69104134a45191188953ac.zip |
download/crossgcc: Don't delete coreboot files
Turns out there are needed parts.
Diffstat (limited to 'resources/scripts/helpers/download/crossgcc')
-rwxr-xr-x | resources/scripts/helpers/download/crossgcc | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/resources/scripts/helpers/download/crossgcc b/resources/scripts/helpers/download/crossgcc index 853e3fdc..c53f6265 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" |