Simplify r325427
CROSSENV (in Makefile.inc1) sets CPUTYPE/MACHINE(_ARCH)? to the TARGET*-relevant values when building the `libraries` target. PR: 222925
This commit is contained in:
parent
7efeac5c18
commit
600da319ad
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/runtime-coverage/; revision=325428
@ -3,13 +3,11 @@
|
||||
.include <src.opts.mk>
|
||||
|
||||
# NOTE: based on TARGET_ABI/TARGET_CPUTYPE, set in Makefile.inc1 .
|
||||
.if defined(TARGET) && defined(TARGET_ARCH)
|
||||
.if ${TARGET} == "arm"
|
||||
.if ${TARGET_ARCH:Marmv[67]*} != "" && ${TARGET_CPUTYPE:M*soft*} == ""
|
||||
.if ${MACHINE} == "arm"
|
||||
.if ${MACHINE_ARCH:Marmv[67]*} != "" && ${CPUTYPE:M*soft*} == ""
|
||||
CRTARCH= armhf
|
||||
.endif
|
||||
.endif
|
||||
.endif
|
||||
|
||||
CRTARCH?= ${TARGET_CPUARCH:C/amd64/x86_64/}
|
||||
CRTSRC= ${SRCTOP}/contrib/compiler-rt
|
||||
|
Loading…
Reference in New Issue
Block a user