diff options
Diffstat (limited to 'resources/scripts/helpers/build/module/flashrom')
-rwxr-xr-x | resources/scripts/helpers/build/module/flashrom | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/resources/scripts/helpers/build/module/flashrom b/resources/scripts/helpers/build/module/flashrom index 0d2d1bf..b37299e 100755 --- a/resources/scripts/helpers/build/module/flashrom +++ b/resources/scripts/helpers/build/module/flashrom @@ -3,6 +3,7 @@ # helper script: builds flashrom source code # # Copyright (C) 2014, 2015 Francis Rowe <info@gluglug.org.uk> +# Copyright (C) 2015 Klemens Nanni <contact@autoboot.org> # # 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 @@ -33,12 +34,12 @@ cd "flashrom/" make clean if (( $# != 1 )); then - make + make -j$(nproc) else if [ "${1}" = "static" ]; then - make SHARED=0 CC='gcc -static' + make SHARED=0 CC='gcc -static' -j$(nproc) else - make + make -j$(nproc) fi fi @@ -59,12 +60,12 @@ do make clean if (( $# != 1 )); then - make + make -j$(nproc) else if [ "${1}" = "static" ]; then - make SHARED=0 CC='gcc -static' + make SHARED=0 CC='gcc -static' -j$(nproc) else - make + make -j$(nproc) fi fi |