summaryrefslogtreecommitdiff
blob: e23fe63fb251974b9eb2e2844e7c925d3a69423d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# RISC-V profile for rv32imac multilib
#
# This immediate profile is ONLY useful for internal purposes. It can NOT
# generate stages or a working system due to limitations in gcc.

CHOST="riscv32-unknown-linux-gnu"

# Multilib ABIs
MULTILIB_ABIS="ilp32d ilp32"
DEFAULT_ABI="ilp32d"
ABI="ilp32d"

# Enable ilp32d by default
ABI_RISCV="ilp32d"

# Unhide the riscv/riscv-specific USE_EXPANDs
USE_EXPAND_HIDDEN="-ABI_RISCV"

# Implicitly enable ilp32d in ebuilds without multilib support
IUSE_IMPLICIT="abi_riscv_ilp32d"