Skip to content

Commit

Permalink
Use TARGET_ARCH=riscv64 when TARGET=riscv
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bsdimp committed Nov 21, 2017
1 parent 7bcc2cf commit 573a3ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 573a3ef

Please sign in to comment.