diff options
author | Vitali64 <vitali64pmemail@protonmail.com> | 2021-12-11 10:11:49 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2021-12-11 13:38:43 +0000 |
commit | 7e6691e999bf1fcda58fdb782932c598b1f7bd03 (patch) | |
tree | ca4b1c7d0d9dbfd14313d74e30d75b9d55bb8383 /resources/scripts/build/boot/roms_helper | |
parent | dec2d7206e0a9f8506bb03de726caf013c3a7fe9 (diff) |
Add ARMv7 and AArch64 support
Diffstat (limited to 'resources/scripts/build/boot/roms_helper')
-rwxr-xr-x | resources/scripts/build/boot/roms_helper | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/scripts/build/boot/roms_helper b/resources/scripts/build/boot/roms_helper index 726950d4..2d8dce78 100755 --- a/resources/scripts/build/boot/roms_helper +++ b/resources/scripts/build/boot/roms_helper @@ -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 |