# Copyright 2019-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# RISC-V profile for rv64gc multilib
#
# This profile is ONLY useful for internal purposes; it can generate
# stages just fine, but the only "hardware" that can run them is qemu-user ...
CHOST="riscv64-unknown-linux-gnu"
# Multilib ABIs
MULTILIB_ABIS="lp64d lp64 ilp32d ilp32"
DEFAULT_ABI="lp64d"
ABI="lp64d"
# One-level dir for the default abi
LIBDIR_lp64d="lib64"
# James Le Cuirot <chewi@gentoo.org> (2026-02-13)
# Enable the native QEMU target for this architecture by default.
QEMU_SOFTMMU_TARGETS="riscv64"