From 2922c73b62ff18957410f6829a9126c4cb415377 Mon Sep 17 00:00:00 2001 From: probonopd Date: Sun, 20 Feb 2022 18:29:36 +0100 Subject: [PATCH] Add arm-none-eabi-* for 32-bit models [ci skip] --- build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.sh b/build.sh index f069236..186c997 100644 --- a/build.sh +++ b/build.sh @@ -8,6 +8,12 @@ if [ -z "${RPI}" ] ; then exit 1 fi +if [ "${RPI}" -gt "2" ]; then + export TOOLCHAIN_PREFIX="aarch64-none-elf-" +else + export TOOLCHAIN_PREFIX="arm-none-eabi-" +fi + # Build circle-stdlib library cd circle-stdlib/ make clean || true