diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-08-29 23:47:29 (EDT) |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-08-29 23:47:29 (EDT) |
commit | a57f26f2c62805b9e61719361ca17ccf53c897ad (patch) | |
tree | 31777747249a8b538fa6f1bbbec39b131be59044 /resources/scripts/helpers/build/module/flashrom | |
parent | 8c07c380121cdab4efd50cff453875903b8c67ef (diff) | |
download | libreboot-a57f26f2c62805b9e61719361ca17ccf53c897ad.zip libreboot-a57f26f2c62805b9e61719361ca17ccf53c897ad.tar.gz libreboot-a57f26f2c62805b9e61719361ca17ccf53c897ad.tar.bz2 |
all scripts: general fixes and clean up
Diffstat (limited to 'resources/scripts/helpers/build/module/flashrom')
-rwxr-xr-x | resources/scripts/helpers/build/module/flashrom | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/resources/scripts/helpers/build/module/flashrom b/resources/scripts/helpers/build/module/flashrom index b37299e..c4cb380 100755 --- a/resources/scripts/helpers/build/module/flashrom +++ b/resources/scripts/helpers/build/module/flashrom @@ -34,12 +34,12 @@ cd "flashrom/" make clean if (( $# != 1 )); then - make -j$(nproc) + make -j"$(nproc)" else if [ "${1}" = "static" ]; then - make SHARED=0 CC='gcc -static' -j$(nproc) + make SHARED=0 CC='gcc -static' -j"$(nproc)" else - make -j$(nproc) + make -j"$(nproc)" fi fi @@ -60,12 +60,12 @@ do make clean if (( $# != 1 )); then - make -j$(nproc) + make -j"$(nproc)" else if [ "${1}" = "static" ]; then - make SHARED=0 CC='gcc -static' -j$(nproc) + make SHARED=0 CC='gcc -static' -j"$(nproc)" else - make -j$(nproc) + make -j"$(nproc)" fi fi @@ -82,6 +82,3 @@ mv "flashrom_normal" "flashrom" cd "../" printf "\n\n" - -# ------------------- DONE ---------------------- - |