libreboot

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 094dcb6907373bb62165bee33311419600d8a4cc
parent 5016e9e0c6dd30fb49e50b698fc857f15aae6de7
Author: Klemens Nanni <klemens@posteo.de>
Date:   Sun, 16 Aug 2015 17:01:21 +0100

scripts: use the -j option in make (multithreaded compilation)

Diffstat:
resources/scripts/helpers/build/module/bucts | 3++-
resources/scripts/helpers/build/module/coreboot | 3++-
resources/scripts/helpers/build/module/flashrom | 13+++++++------
resources/scripts/helpers/build/module/grub | 3++-
resources/scripts/helpers/build/module/i945pwm | 3++-
resources/scripts/helpers/build/module/ich9deblob | 3++-
resources/scripts/helpers/build/module/memtest86plus | 3++-
resources/scripts/helpers/build/roms/withgrub_helper | 3++-
8 files changed, 21 insertions(+), 13 deletions(-)

diff --git 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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 "../" diff --git a/resources/scripts/helpers/build/roms/withgrub_helper b/resources/scripts/helpers/build/roms/withgrub_helper @@ -3,6 +3,7 @@ # helper script: create ROM images for a given system, with GRUB # # 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 @@ -75,7 +76,7 @@ do make clean mv "config_${romtype}" ".config" mv "grub_${romtype}.elf" "grub.elf" - make + make -j$(nproc) mv "grub.elf" "grub_${romtype}.elf" mv "build/coreboot.rom" "${1}_${romtype}.rom" # .config no longer needed