summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/module
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/helpers/build/module')
-rwxr-xr-xresources/scripts/helpers/build/module/bucts3
-rwxr-xr-xresources/scripts/helpers/build/module/coreboot3
-rwxr-xr-xresources/scripts/helpers/build/module/flashrom13
-rwxr-xr-xresources/scripts/helpers/build/module/grub3
-rwxr-xr-xresources/scripts/helpers/build/module/i945pwm3
-rwxr-xr-xresources/scripts/helpers/build/module/ich9deblob3
-rwxr-xr-xresources/scripts/helpers/build/module/memtest86plus3
7 files changed, 19 insertions, 12 deletions
diff --git a/resources/scripts/helpers/build/module/bucts b/resources/scripts/helpers/build/module/bucts
index 8f2a49a..08ed951 100755
--- a/resources/scripts/helpers/build/module/bucts
+++ b/resources/scripts/helpers/build/module/bucts
@@ -3,6 +3,7 @@
# helper script: builds bucts source code
#
# Copyright (C) 2014, 2015 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2015 Klemens Nanni <contact@autoboot.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -43,7 +44,7 @@ if [ "${buildtype}" = "static" ]; then
fi
make clean
-make
+make -j$(nproc)
if [ "${buildtype}" = "static" ]; then
patch "Makefile" -R < "../resources/bucts/patch/staticlink.diff"
diff --git a/resources/scripts/helpers/build/module/coreboot b/resources/scripts/helpers/build/module/coreboot
index 1522196..c939068 100755
--- a/resources/scripts/helpers/build/module/coreboot
+++ b/resources/scripts/helpers/build/module/coreboot
@@ -3,6 +3,7 @@
# helper script: builds the dependencies that coreboot needs before building a ROM image
#
# Copyright (C) 2014, 2015 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2015 Klemens Nanni <contact@autoboot.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -37,7 +38,7 @@ cd "coreboot/"
# cbfstool
cd "util/cbfstool/"
-make
+make -j$(nproc)
# done. go back to coreboot dir
cd "../../"
diff --git a/resources/scripts/helpers/build/module/flashrom b/resources/scripts/helpers/build/module/flashrom
index 0d2d1bf..b37299e 100755
--- a/resources/scripts/helpers/build/module/flashrom
+++ b/resources/scripts/helpers/build/module/flashrom
@@ -3,6 +3,7 @@
# helper script: builds flashrom source code
#
# Copyright (C) 2014, 2015 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2015 Klemens Nanni <contact@autoboot.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -33,12 +34,12 @@ cd "flashrom/"
make clean
if (( $# != 1 )); then
- make
+ make -j$(nproc)
else
if [ "${1}" = "static" ]; then
- make SHARED=0 CC='gcc -static'
+ make SHARED=0 CC='gcc -static' -j$(nproc)
else
- make
+ make -j$(nproc)
fi
fi
@@ -59,12 +60,12 @@ do
make clean
if (( $# != 1 )); then
- make
+ make -j$(nproc)
else
if [ "${1}" = "static" ]; then
- make SHARED=0 CC='gcc -static'
+ make SHARED=0 CC='gcc -static' -j$(nproc)
else
- make
+ make -j$(nproc)
fi
fi
diff --git a/resources/scripts/helpers/build/module/grub b/resources/scripts/helpers/build/module/grub
index e6b548a..fe073d6 100755
--- a/resources/scripts/helpers/build/module/grub
+++ b/resources/scripts/helpers/build/module/grub
@@ -3,6 +3,7 @@
# helper script: builds GRUB source code
#
# Copyright (C) 2014, 2015 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2015 Klemens Nanni <contact@autoboot.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -37,7 +38,7 @@ cd "grub/"
# build grub
./autogen.sh
./configure --with-platform=coreboot
-make
+make -j$(nproc)
printf "\n\n"
diff --git a/resources/scripts/helpers/build/module/i945pwm b/resources/scripts/helpers/build/module/i945pwm
index 0c5200c..c263b25 100755
--- a/resources/scripts/helpers/build/module/i945pwm
+++ b/resources/scripts/helpers/build/module/i945pwm
@@ -3,6 +3,7 @@
# helper script: builds i945-pwm source code
#
# Copyright (C) 2014, 2015 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2015 Klemens Nanni <contact@autoboot.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -33,7 +34,7 @@ cd "resources/utilities/i945-pwm/"
make clean
# build it
-make
+make -j$(nproc)
# done. go back to main directory
cd "../../../"
diff --git a/resources/scripts/helpers/build/module/ich9deblob b/resources/scripts/helpers/build/module/ich9deblob
index d1d0d2f..7622b87 100755
--- a/resources/scripts/helpers/build/module/ich9deblob
+++ b/resources/scripts/helpers/build/module/ich9deblob
@@ -3,6 +3,7 @@
# helper script: builds ich9deblob source code
#
# Copyright (C) 2014, 2015 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2015 Klemens Nanni <contact@autoboot.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -35,7 +36,7 @@ cd "resources/utilities/ich9deblob/"
make clean
# build ich9deblob
-make
+make -j$(nproc)
# done. go back to main directory
cd "../../../"
diff --git a/resources/scripts/helpers/build/module/memtest86plus b/resources/scripts/helpers/build/module/memtest86plus
index 8fd9c1d..ca9c7b7 100755
--- a/resources/scripts/helpers/build/module/memtest86plus
+++ b/resources/scripts/helpers/build/module/memtest86plus
@@ -3,6 +3,7 @@
# helper script: builds memtest86+ source code
#
# Copyright (C) 2014, 2015 Francis Rowe <info@gluglug.org.uk>
+# Copyright (C) 2015 Klemens Nanni <contact@autoboot.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -35,7 +36,7 @@ cd "memtest86+-5.01/"
make clean
# build memtest86+
-make
+make -j$(nproc)
# done. go back to main directory
cd "../"