Add ARMv7 and AArch64 support

fsdg20230625
Vitali64 2021-12-11 10:11:49 +01:00 committed by Leah Rowe
parent dec2d7206e
commit 7e6691e999
1 changed files with 8 additions and 0 deletions

View File

@ -149,6 +149,14 @@ if [ "${arch}" = "x86_32" ] || [ "${arch}" = "x86_64" ]; then
# 32-bit ROM images, so we only need to worry about i386-elf
)
fi
elif [ "${arch}" = "ARMv7" ]; then
cat version > "${cbdir}/.coreboot-version"
cd "${cbdir}"
make crossgcc-arm CPUS=$(nproc) # This is for armv7, doesn't apply to aarch64
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
fi
if [ ! -f "${cbfstool}" ]; then