Date: Tue, 21 Nov 2017 19:23:12 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r326071 - head Message-ID: <201711211923.vALJNCls035122@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Tue Nov 21 19:23:12 2017 New Revision: 326071 URL: https://svnweb.freebsd.org/changeset/base/326071 Log: 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 Modified: head/Makefile Modified: head/Makefile ============================================================================== --- head/Makefile Tue Nov 21 18:28:14 2017 (r326070) +++ head/Makefile Tue Nov 21 19:23:12 2017 (r326071) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711211923.vALJNCls035122>