summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/module/memtest86plus
diff options
context:
space:
mode:
authorKlemens Nanni <contact@autoboot.org>2015-11-05 12:17:26 (EST)
committer Francis Rowe <info@gluglug.org.uk>2015-11-05 12:46:05 (EST)
commit58caf14937c73246b1b2aca31b5c92c49332fb01 (patch)
tree5775506b5e64c505a04dec8229facb757001118e /resources/scripts/helpers/build/module/memtest86plus
parent03196594ba97c9b3a29e3ebf4f0ce1af218b80ee (diff)
downloadlibreboot-58caf14937c73246b1b2aca31b5c92c49332fb01.zip
libreboot-58caf14937c73246b1b2aca31b5c92c49332fb01.tar.gz
libreboot-58caf14937c73246b1b2aca31b5c92c49332fb01.tar.bz2
Simplify ./build module routines
Diffstat (limited to 'resources/scripts/helpers/build/module/memtest86plus')
-rwxr-xr-xresources/scripts/helpers/build/module/memtest86plus17
1 files changed, 3 insertions, 14 deletions
diff --git a/resources/scripts/helpers/build/module/memtest86plus b/resources/scripts/helpers/build/module/memtest86plus
index 772acf1..bcc7fbf 100755
--- a/resources/scripts/helpers/build/module/memtest86plus
+++ b/resources/scripts/helpers/build/module/memtest86plus
@@ -20,25 +20,14 @@
#
# This script assumes that the working directory is the root
-# of libreboot_src or git
+# of git or release archive
[ "x${DEBUG+set}" = 'xset' ] && set -v
set -u -e
-# Build MemTest86+ payload (for GRUB)
+# Build MemTest86+ payload
# --------------------------------------------------------------------
printf "Building MemTest86+\n"
-cd "memtest86plus/"
-
-# clean it first
-make clean
-
-# build memtest86+
-make -j"$(nproc)"
-
-# done. go back to main directory
-cd "../"
-
-printf "\n\n"
+make -j$(nproc) -BC memtest86plus