Makefile.inc1: Remove redundant test for armv[67]

If MACHINE is arm, then MACHINE_ARCH is going to be either armv6* or
armv7*.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2022-07-05 10:16:19 -06:00
parent 962c2a4925
commit 2726978bd8

View File

@ -135,7 +135,7 @@ _TARGET_CPUTYPE=${TARGET_CPUTYPE}
_TARGET_CPUTYPE=dummy
.endif
.if ${TARGET} == "arm"
.if ${TARGET_ARCH:Marmv[67]*} != "" && ${TARGET_CPUTYPE:M*soft*} == ""
.if ${TARGET_CPUTYPE:M*soft*} == ""
TARGET_TRIPLE_ABI= gnueabihf
.else
TARGET_TRIPLE_ABI= gnueabi