diff options
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 ---------------------- - |