From a586356164491f5895713fca713967218211219e Mon Sep 17 00:00:00 2001 From: Alper Nebi Yasak Date: Wed, 7 Dec 2022 19:31:36 +0300 Subject: 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 --- resources/scripts/build/boot/roms_helper | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'resources/scripts/build') 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 -- cgit v1.2.1