summaryrefslogtreecommitdiff
path: root/resources/scripts/download
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2022-02-08 07:39:54 +0000
committerLeah Rowe <leah@libreboot.org>2022-02-08 07:45:41 +0000
commit37b450051362b4c54a8e05807f173b04649ce501 (patch)
tree4b1e4ad075ddee43a744b285e6500e5cdf57782a /resources/scripts/download
parent937590d2b16815f6c2d3387519a142b2227bff40 (diff)
memtest86+: fix build error (patch from FĂ©licien Pillot)
Diffstat (limited to 'resources/scripts/download')
-rwxr-xr-xresources/scripts/download/memtest86plus8
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/scripts/download/memtest86plus b/resources/scripts/download/memtest86plus
index c95342a8..1b3da822 100755
--- a/resources/scripts/download/memtest86plus
+++ b/resources/scripts/download/memtest86plus
@@ -37,6 +37,14 @@ git clone https://review.coreboot.org/memtest86plus.git
(
cd "memtest86plus/"
git reset --hard a78401b9704cfdd49c89bfb31d2df08f60521d0b
+
+for patchfile in ../resources/memtest86plus/patch/*; do
+ if [ ! -f "${patchfile}" ]; then
+ continue
+ fi
+ git am "${patchfile}"
+done
+
rm -Rf .git*
)