summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/roms/withdepthcharge
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2016-03-10 13:42:14 (EST)
committer Francis Rowe <info@gluglug.org.uk>2016-03-10 13:42:14 (EST)
commitf1cc58c58a29e6183f6300c99e1f113edcecffe8 (patch)
tree8fd04a50c590b71a1d5a22a10a182bd712d7b306 /resources/scripts/helpers/build/roms/withdepthcharge
parent4120c8a2f626134fda30390c5f39661379c4a1a2 (diff)
downloadlibreboot-f1cc58c58a29e6183f6300c99e1f113edcecffe8.zip
libreboot-f1cc58c58a29e6183f6300c99e1f113edcecffe8.tar.gz
libreboot-f1cc58c58a29e6183f6300c99e1f113edcecffe8.tar.bz2
build scripts: use $(nproc) not "$(nproc)" for make -j option
Diffstat (limited to 'resources/scripts/helpers/build/roms/withdepthcharge')
-rwxr-xr-xresources/scripts/helpers/build/roms/withdepthcharge6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/scripts/helpers/build/roms/withdepthcharge b/resources/scripts/helpers/build/roms/withdepthcharge
index 2ba9776..eaab8f0 100755
--- a/resources/scripts/helpers/build/roms/withdepthcharge
+++ b/resources/scripts/helpers/build/roms/withdepthcharge
@@ -63,7 +63,7 @@ buildlibpayload() {
rm -Rf "install/"
make KBUILD_DEFCONFIG="configs/config.$family" defconfig
- make -j"$(nproc)"
+ make -j$(nproc)
make DESTDIR="install" install
cd "../../"
@@ -94,7 +94,7 @@ builddepthcharge() {
rm -f "../coreboot/${cbrevision:?}/${cbrevision:?}/depthcharge.elf"
make BOARD="${board}" defconfig
- make BOARD="${board}" LIBPAYLOAD_DIR="$(pwd)/../coreboot/${cbrevision}/${cbrevision}/payloads/libpayload/install/libpayload" VB_SOURCE="$(pwd)/../coreboot/${cbrevision}/${cbrevision}/3rdparty/vboot" -j"$(nproc)" depthcharge_unified
+ make BOARD="${board}" LIBPAYLOAD_DIR="$(pwd)/../coreboot/${cbrevision}/${cbrevision}/payloads/libpayload/install/libpayload" VB_SOURCE="$(pwd)/../coreboot/${cbrevision}/${cbrevision}/3rdparty/vboot" -j$(nproc) depthcharge_unified
cp "build/depthcharge.elf" "../coreboot/${cbrevision}/${cbrevision}/"
@@ -129,7 +129,7 @@ buildcoreboot() {
printf 'libreboot-%s\n' "${version}" > ".coreboot-version" # needed for reproducible builds in coreboot
make KBUILD_DEFCONFIG="$(pwd)/../../../resources/libreboot/config/depthcharge/${board}/config" defconfig
- make -j"$(nproc)"
+ make -j$(nproc)
cbfs_size=$( grep CONFIG_CBFS_SIZE ".config" | sed "s/.*[[:space:]]*=[[:space:]]*//g" )
cbfs_size=$( printf "%d\n" "${cbfs_size}" )