build/roms: Build 32-bit crossgcc for AArch64 as well

This re-applies commit a69855f7e4 ("Build 32-bit crossgcc for AArch64
as well") which was inexplicably reverted along with unrelated changes.
Mention in a comment that building crossgcc-arm is necessary for
AArch64.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
fsdg20230625
Alper Nebi Yasak 2022-12-07 19:31:36 +03:00
parent 9fb4ecec62
commit a586356164
1 changed files with 2 additions and 1 deletions

View File

@ -194,7 +194,8 @@ elif [ "${arch}" = "AArch64" ]; then
( (
cat version > "${cbdir}/.coreboot-version" cat version > "${cbdir}/.coreboot-version"
cd "${cbdir}" cd "${cbdir}"
make crossgcc-aarch64 CPUS=$(nproc) # This is for aarch64, doesn't apply to armv7 # aarch64 needs armv7 toolchain for arm-trusted-firmware
make crossgcc-arm crossgcc-aarch64 CPUS=$(nproc)
) )
fi fi