From f1cc58c58a29e6183f6300c99e1f113edcecffe8 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Thu, 10 Mar 2016 18:42:14 +0000 Subject: build scripts: use $(nproc) not "$(nproc)" for make -j option --- resources/scripts/helpers/build/module/flashrom | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'resources/scripts/helpers/build/module/flashrom') diff --git a/resources/scripts/helpers/build/module/flashrom b/resources/scripts/helpers/build/module/flashrom index 920b77dc..3664f565 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 -- cgit v1.2.3-70-g09d2