diff options
author | Alper Nebi Yasak <alpernebiyasak@gmail.com> | 2022-12-07 19:31:36 +0300 |
---|---|---|
committer | Alper Nebi Yasak <alpernebiyasak@gmail.com> | 2022-12-10 14:19:00 +0300 |
commit | a586356164491f5895713fca713967218211219e (patch) | |
tree | b11afb842444b2c5963e5d4fb1074635d2ec8535 /resources/scripts/build | |
parent | 9fb4ecec62b0430fa8e405d2133a4579020e522b (diff) |
build/roms: Build 32-bit crossgcc for AArch64 as well
This re-applies commit a69855f7e448 ("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>
Diffstat (limited to 'resources/scripts/build')
-rwxr-xr-x | resources/scripts/build/boot/roms_helper | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/scripts/build/boot/roms_helper b/resources/scripts/build/boot/roms_helper index a59c4285..ff0681f3 100755 --- a/resources/scripts/build/boot/roms_helper +++ b/resources/scripts/build/boot/roms_helper @@ -194,7 +194,8 @@ elif [ "${arch}" = "AArch64" ]; then ( cat version > "${cbdir}/.coreboot-version" 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 |