aboutsummaryrefslogtreecommitdiff
path: root/getmt86
diff options
context:
space:
mode:
Diffstat (limited to 'getmt86')
-rwxr-xr-xgetmt8616
1 files changed, 8 insertions, 8 deletions
diff --git a/getmt86 b/getmt86
index 95b59448..43bfc27a 100755
--- a/getmt86
+++ b/getmt86
@@ -2,7 +2,7 @@
# getmt86: Downloads MemTest86+ and patches it
#
-# Copyright (C) 2014 Francis Rowe
+# Copyright (C) 2014 Francis Rowe <info@gluglug.org.uk>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -50,21 +50,21 @@ cd "memtest86+-5.01"
# Remove the line in the Makefile (comment line 24) that makes memtest86+ connect to an scp server during build
# Set the following in config.h (to enable use of memtest86+ on serial port):
-# #define SERIAL_CONSOLE_DEFAULT 1
# #define SERIAL_TTY 0
# #define SERIAL_BAUD_RATE 115200
# /* BEEP_MODE - Beep on error. Default off, Change to 1 to enable */
# #define BEEP_MODE 1
-# copy the gitdiff into coreboot directory
-cp ../resources/memtest86/patch/diff .
+# place the right config
+rm -rf config.h
+cp ../resources/memtest86/patch/config.h .
-# see: libreboot_src/patch.html
-patch -p1 < diff
+# place the right Makefile
+rm -rf Makefile
+cp ../resources/memtest86/patch/Makefile .
-# remove the copy (not needed anymore)
-rm -rf diff
+# (diff them with defaults to see what changed)
# we're done
cd ../