Install this version:
emerge -a =dev-games/ps2-iop-binutils-2.45.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-games/ps2-iop-binutils-2.45.1
Or alternatively:
emerge --autounmask-write -a =dev-games/ps2-iop-binutils-2.45.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.45.1 | 8 | ~amd64 | 0 |
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit edo
DESCRIPTION="GNU binutils for the PlayStation 2 I/O processor (mipsel-none-elf)"
HOMEPAGE="https://www.gnu.org/software/binutils/ https://github.com/ps2dev/ps2toolchain-iop"
SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.xz"
S="${WORKDIR}/binutils-${PV}"
LICENSE="GPL-3+ LGPL-3+"
SLOT="0"
KEYWORDS="~amd64"
# Target objects must not be touched by the host strip.
RESTRICT="strip test"
DEPEND="virtual/zlib:="
RDEPEND="${DEPEND}"
src_configure() {
mkdir "${WORKDIR}/build" || die
cd "${WORKDIR}/build" || die
edo "${S}/configure" \
--build="${CBUILD:-${CHOST}}" \
--host="${CHOST}" \
--target=mipsel-none-elf \
--prefix="${EPREFIX}/usr" \
--disable-gprofng \
--disable-nls \
--disable-separate-code \
--disable-sim \
--disable-werror \
--with-python=no \
--with-system-zlib \
--without-debuginfod \
--without-zstd
}
src_compile() {
emake -C "${WORKDIR}/build"
}
src_install() {
emake -C "${WORKDIR}/build" DESTDIR="${D}" install-strip
# Unprefixed files that would collide with the host toolchain.
rm -r "${ED}"/usr/{lib*/bfd-plugins,share/info} || die
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | binutils-2.45.1.tar.xz | 27962312 bytes | mirror://gnu/binutils/binutils-2.45.1.tar.xz |