aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/download/crossgcc
diff options
context:
space:
mode:
authorSolidHal <hal@halemmerich.com>2018-10-02 17:22:44 -0500
committerSolidHal <hal@halemmerich.com>2018-10-02 17:22:44 -0500
commit80ae0913076622ce82fc96d8cfee4dbb04874e34 (patch)
tree9f4f26bf9f62362cc0802b634b4589976cf92235 /resources/scripts/helpers/download/crossgcc
parent671f1f9e930b9725b458d8b5d0790d0f4988a074 (diff)
downloadlibrebootfr-80ae0913076622ce82fc96d8cfee4dbb04874e34.tar.gz
librebootfr-80ae0913076622ce82fc96d8cfee4dbb04874e34.zip
Backport hash checking into buildgcc
Patch based off: https://review.coreboot.org/cgit/coreboot.git/commit/?id=92d483a8927066ef16603023be05ad1fb7dea644 by Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Diffstat (limited to 'resources/scripts/helpers/download/crossgcc')
-rwxr-xr-xresources/scripts/helpers/download/crossgcc3
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/scripts/helpers/download/crossgcc b/resources/scripts/helpers/download/crossgcc
index 311ded2d..54f55439 100755
--- a/resources/scripts/helpers/download/crossgcc
+++ b/resources/scripts/helpers/download/crossgcc
@@ -49,9 +49,12 @@ rm -Rf "crossgcc/"
# workaround to fix the error on debian stretch and later, when building
# GMP. If -pie is enabled in GCC, then --with-pic must be used when compiling
git am ../resources/libreboot/patch/crossgcc/gccfix.diff
+ #Patch to add hash checking to buildgcc
+ git apply ../resources/libreboot/patch/crossgcc/buildgcc_hash_patch.diff
rm -Rf .git* */*/.git*
)
+
printf "Deblobbing coreboot\n"
./resources/utilities/coreboot-libre/deblob