mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
Use TARGET_ARCH=riscv64 when TARGET=riscv
The supported targets are riscv64 and riscv64sf. Use the former when building with a bare TARGET=riscv and it is the more common one. Sponsored by: Netflix
This commit is contained in:
parent
7bcc2cfc86
commit
573a3ef083
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326071
2
Makefile
2
Makefile
|
@ -270,7 +270,7 @@ MK_META_MODE= no
|
|||
# exceptions.
|
||||
.if !defined(TARGET_ARCH) && defined(TARGET)
|
||||
# T->TA mapping is usually TARGET with arm64 the odd man out
|
||||
_TARGET_ARCH= ${TARGET:S/arm64/aarch64/}
|
||||
_TARGET_ARCH= ${TARGET:S/arm64/aarch64/:S/riscv/riscv64/}
|
||||
.elif !defined(TARGET) && defined(TARGET_ARCH) && \
|
||||
${TARGET_ARCH} != ${MACHINE_ARCH}
|
||||
# TA->T mapping is accidentally CPUARCH with aarch64 the odd man out
|
||||
|
|
Loading…
Reference in a new issue