diff options
Diffstat (limited to 'resources/scripts/helpers/build/module')
-rwxr-xr-x | resources/scripts/helpers/build/module/bucts | 4 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/module/coreboot | 4 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/module/flashrom | 15 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/module/grub | 4 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/module/i945pwm | 4 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/module/ich9deblob | 4 | ||||
-rwxr-xr-x | resources/scripts/helpers/build/module/memtest86plus | 4 |
7 files changed, 12 insertions, 27 deletions
diff --git a/resources/scripts/helpers/build/module/bucts b/resources/scripts/helpers/build/module/bucts index 08ed951..c142c76 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" @@ -54,5 +54,3 @@ fi cd "../" printf "\n\n" - -# ------------------- DONE ---------------------- diff --git a/resources/scripts/helpers/build/module/coreboot b/resources/scripts/helpers/build/module/coreboot index c939068..756ca1c 100755 --- a/resources/scripts/helpers/build/module/coreboot +++ b/resources/scripts/helpers/build/module/coreboot @@ -38,7 +38,7 @@ cd "coreboot/" # cbfstool cd "util/cbfstool/" -make -j$(nproc) +make -j"$(nproc)" # done. go back to coreboot dir cd "../../" @@ -47,5 +47,3 @@ cd "../../" cd "../" printf "\n\n" - -# ------------------- DONE ---------------------- 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 ---------------------- - diff --git a/resources/scripts/helpers/build/module/grub b/resources/scripts/helpers/build/module/grub index fe073d6..0e424a4 100755 --- a/resources/scripts/helpers/build/module/grub +++ b/resources/scripts/helpers/build/module/grub @@ -38,11 +38,9 @@ cd "grub/" # build grub ./autogen.sh ./configure --with-platform=coreboot -make -j$(nproc) +make -j"$(nproc)" printf "\n\n" # done. go back to main directory cd "../" - -# ------------------- DONE ---------------------- diff --git a/resources/scripts/helpers/build/module/i945pwm b/resources/scripts/helpers/build/module/i945pwm index c263b25..0db8270 100755 --- a/resources/scripts/helpers/build/module/i945pwm +++ b/resources/scripts/helpers/build/module/i945pwm @@ -34,11 +34,9 @@ cd "resources/utilities/i945-pwm/" make clean # build it -make -j$(nproc) +make -j"$(nproc)" # done. go back to main directory cd "../../../" printf "\n\n" - -# ------------------- DONE ---------------------- diff --git a/resources/scripts/helpers/build/module/ich9deblob b/resources/scripts/helpers/build/module/ich9deblob index 7622b87..2ca54c7 100755 --- a/resources/scripts/helpers/build/module/ich9deblob +++ b/resources/scripts/helpers/build/module/ich9deblob @@ -36,11 +36,9 @@ cd "resources/utilities/ich9deblob/" make clean # build ich9deblob -make -j$(nproc) +make -j"$(nproc)" # done. go back to main directory cd "../../../" printf "\n\n" - -# ------------------- DONE ---------------------- diff --git a/resources/scripts/helpers/build/module/memtest86plus b/resources/scripts/helpers/build/module/memtest86plus index 3e9feb1..772acf1 100755 --- a/resources/scripts/helpers/build/module/memtest86plus +++ b/resources/scripts/helpers/build/module/memtest86plus @@ -36,11 +36,9 @@ cd "memtest86plus/" make clean # build memtest86+ -make -j$(nproc) +make -j"$(nproc)" # done. go back to main directory cd "../" printf "\n\n" - -# ------------------- DONE ---------------------- |