Fix the TARGET_ABI value clang uses. It shpuld be gnueabi on all ARM
soft-float architectures, and gnueabihf for hard-float.
This commit is contained in:
parent
293b5c2221
commit
3dde11c478
@ -337,10 +337,10 @@ XFLAGS+= -B${CROSS_BINUTILS_PREFIX}
|
||||
XFLAGS+= -B${WORLDTMP}/usr/bin
|
||||
.endif
|
||||
.if ${TARGET} == "arm"
|
||||
.if ${TARGET_ARCH:M*eb*} == ""
|
||||
TARGET_ABI= gnueabi
|
||||
.elif ${TARGET_ARCH} == "armv6hf"
|
||||
.if ${TARGET_ARCH:M*hf*} != ""
|
||||
TARGET_ABI= gnueabihf
|
||||
.else
|
||||
TARGET_ABI= gnueabi
|
||||
.endif
|
||||
.endif
|
||||
TARGET_ABI?= unknown
|
||||
|
@ -22,10 +22,10 @@ CFLAGS+= -fno-strict-aliasing
|
||||
TARGET_ARCH?= ${MACHINE_ARCH}
|
||||
BUILD_ARCH?= ${MACHINE_ARCH}
|
||||
|
||||
.if (${TARGET_ARCH} == "arm" || ${TARGET_ARCH} == "armv6")
|
||||
TARGET_ABI= gnueabi
|
||||
.elif ${TARGET_ARCH} == "armv6hf"
|
||||
.if ${TARGET_ARCH:Marm*hf*} != ""
|
||||
TARGET_ABI= gnueabihf
|
||||
.elif ${TARGET_ARCH:Marm*} != ""
|
||||
TARGET_ABI= gnueabi
|
||||
.else
|
||||
TARGET_ABI= unknown
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user