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 | |
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')
-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 ---------------------- |