summaryrefslogtreecommitdiff
path: root/resources/scripts/build/boot
diff options
context:
space:
mode:
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>2022-12-07 19:31:36 +0300
committerAlper Nebi Yasak <alpernebiyasak@gmail.com>2022-12-10 14:19:00 +0300
commita586356164491f5895713fca713967218211219e (patch)
treeb11afb842444b2c5963e5d4fb1074635d2ec8535 /resources/scripts/build/boot
parent9fb4ecec62b0430fa8e405d2133a4579020e522b (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/boot')
-rwxr-xr-xresources/scripts/build/boot/roms_helper3
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