build-atf, build-u_boot: Use nproc to figure out parallelism

This commit is contained in:
Johan Gunnarsson 2022-08-01 19:51:37 +02:00
parent 002c16f896
commit 0f04976ae2
3 changed files with 2 additions and 5 deletions

View File

@ -13,9 +13,6 @@ permissions:
id-token: write
contents: read
env:
MAKEFLAGS: -j2
jobs:
build-boot-x86:
runs-on: ubuntu-latest

View File

@ -32,4 +32,4 @@ fi
export CROSS_COMPILE=$(dirname $(which "${TUPLE}-gcc"))/"${TUPLE}-"
# Build ATF
make ${MAKEFLAGS} PLAT="${PLAT}" DEBUG=1 bl31
make ${MAKEFLAGS:--j$(nproc)} PLAT="${PLAT}" DEBUG=1 bl31

View File

@ -32,4 +32,4 @@ fi
export CROSS_COMPILE=$(dirname $(which "${TUPLE}-gcc"))/"${TUPLE}-"
# Build U-Boot
make ${MAKEFLAGS} "${DEFCONFIG}" && make ${MAKEFLAGS}
make ${MAKEFLAGS} "${DEFCONFIG}" && make ${MAKEFLAGS:--j$(nproc)}