mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
profiles: Add intermediate rv32(imac) multilib profile
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
5
|
||||
@@ -0,0 +1,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 lp64d by default
|
||||
ABI_RISCV="ilp32d"
|
||||
|
||||
# Unhide the riscv/rv64gc-specific USE_EXPANDs
|
||||
USE_EXPAND_HIDDEN="-ABI_RISCV"
|
||||
|
||||
# Implicitly enable lp64d in ebuilds without multilib support
|
||||
IUSE_IMPLICIT="abi_riscv_ilp32d"
|
||||
@@ -0,0 +1,2 @@
|
||||
..
|
||||
../../../multilib
|
||||
@@ -0,0 +1,5 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Force the flag corresponding to the default ABI.
|
||||
abi_riscv_ilp32d
|
||||
@@ -0,0 +1,6 @@
|
||||
# Copyright 2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Unmask the multilib flags for this arch.
|
||||
-abi_riscv_ilp32d
|
||||
-abi_riscv_ilp32
|
||||
Reference in New Issue
Block a user