summaryrefslogtreecommitdiff
path: root/resources/scripts/download/memtest86plus
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/download/memtest86plus')
-rwxr-xr-xresources/scripts/download/memtest86plus38
1 files changed, 1 insertions, 37 deletions
diff --git a/resources/scripts/download/memtest86plus b/resources/scripts/download/memtest86plus
index c0897c8..92672a4 100755
--- a/resources/scripts/download/memtest86plus
+++ b/resources/scripts/download/memtest86plus
@@ -23,46 +23,10 @@
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e
-usage()
-{
- progname="./download memtest86plus"
- printf "Usage:\n"
- printf "\t%s # %s\n" \
- "${progname}" \
- "Download MemTest86+"
- printf "\t%s --help # %s\n" \
- "${progname}" \
- "Prints this help"
-}
-
-if [ $# -ne 0 ] ; then
- usage
- exit 0
-fi
-
# Get the last version of MemTest86+ used, apply patches, build it.
# Remove the old version that may exist
# ------------------------------------------------------------------------------
printf "Downloading MemTest86+\n"
-
-rm -Rf "memtest86plus/"
-
-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*
-)
-
-printf "\n\n"
+./download gitmodule memtest86plus