diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 66fa127765..3c6a606dd0 100755 --- a/util/crossgcc/buildgcc +++ b/util/crossgcc/buildgcc @@ -597,7 +597,7 @@ case "$TARGETARCH" in riscv-elf) ;; powerpc64*-linux*) ;; i386*) TARGETARCH=i386-elf;; - arm*) TARGETARCH=armv7-a-eabi;; + arm*) TARGETARCH=arm-eabi;; aarch64*) TARGETARCH=aarch64-elf;; *) printf "${red}WARNING: Unsupported architecture $TARGETARCH.${NC}\n\n"; ;; esac diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index b0199ebeb9..176518362f 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -290,7 +290,7 @@ SUPPORTED_ARCHITECTURES="arm arm64 mipsel riscv x64 x86 power8" arch_config_arm() { TARCH="arm" TBFDARCHS="littlearm" - TCLIST="armv7-a armv7a" + TCLIST="armv7-a armv7a arm" TWIDTH="32" TSUPP="arm armv4 armv7 armv7_m" TABI="eabi"