From 58caf14937c73246b1b2aca31b5c92c49332fb01 Mon Sep 17 00:00:00 2001 From: Klemens Nanni Date: Thu, 5 Nov 2015 18:17:26 +0100 Subject: Simplify ./build module routines --- resources/scripts/helpers/build/module/grub | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'resources/scripts/helpers/build/module/grub') diff --git a/resources/scripts/helpers/build/module/grub b/resources/scripts/helpers/build/module/grub index 47589d54..030dd952 100755 --- a/resources/scripts/helpers/build/module/grub +++ b/resources/scripts/helpers/build/module/grub @@ -20,12 +20,12 @@ # # This script assumes that the working directory is the root -# of libreboot_src or git +# of git or release archive [ "x${DEBUG+set}" = 'xset' ] && set -v set -u -e -# Build utilies needed for building GRUB payloads +# Build GRUB as coreboot payload # --------------------------------------------------------------------- printf "Building GRUB\n" @@ -33,14 +33,9 @@ printf "Building GRUB\n" cd "grub/" # clean it first -[ -f Makefile ] && make distclean +make distclean # build grub ./autogen.sh ./configure --with-platform=coreboot -make -j"$(nproc)" - -printf "\n\n" - -# done. go back to main directory -cd "../" +make -j$(nproc) -- cgit v1.2.3-70-g09d2