aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build/module
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2016-03-10 18:42:14 +0000
committerFrancis Rowe <info@gluglug.org.uk>2016-03-10 18:42:14 +0000
commitf1cc58c58a29e6183f6300c99e1f113edcecffe8 (patch)
tree8fd04a50c590b71a1d5a22a10a182bd712d7b306 /resources/scripts/helpers/build/module
parent4120c8a2f626134fda30390c5f39661379c4a1a2 (diff)
downloadlibrebootfr-f1cc58c58a29e6183f6300c99e1f113edcecffe8.tar.gz
librebootfr-f1cc58c58a29e6183f6300c99e1f113edcecffe8.zip
build scripts: use $(nproc) not "$(nproc)" for make -j option
Diffstat (limited to 'resources/scripts/helpers/build/module')
-rwxr-xr-xresources/scripts/helpers/build/module/bucts2
-rwxr-xr-xresources/scripts/helpers/build/module/flashrom12
2 files changed, 7 insertions, 7 deletions
diff --git a/resources/scripts/helpers/build/module/bucts b/resources/scripts/helpers/build/module/bucts
index e0114842..6e54fc1b 100755
--- a/resources/scripts/helpers/build/module/bucts
+++ b/resources/scripts/helpers/build/module/bucts
@@ -44,7 +44,7 @@ if [ "${buildtype}" = "static" ]; then
fi
make clean
-make -j"$(nproc)"
+make -j$(nproc)
if [ "${buildtype}" = "static" ]; then
patch "Makefile" -R < "../resources/bucts/patch/staticlink.diff"
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