dev-embedded/u-boot-tools: avoid Python entirely

We could set DTC but then we still try to build some components,
but grepping for ENABLE_PYTHON, the only use is for dtc, and we get
that from dtc[python].

Just disable it.

Closes: https://bugs.gentoo.org/860300
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-02-09 21:25:44 +00:00
parent da2a6bf840
commit ab4deaa5f8

View File

@@ -21,7 +21,7 @@ IUSE="envtools"
RDEPEND="
dev-libs/openssl:=
net-libs/gnutls:=
sys-apps/dtc[python]
>=sys-apps/dtc-1.4.6
sys-apps/util-linux:=
"
DEPEND="${RDEPEND}"
@@ -56,10 +56,12 @@ src_compile() {
HOSTCC="${BUILD_CC}"
HOSTCFLAGS="${BUILD_CFLAGS} ${BUILD_CPPFLAGS}"' $(HOSTCPPFLAGS)'
HOSTLDFLAGS="${BUILD_LDFLAGS}"
DTC="dtc"
# Provided by sys-apps/dtc[python]
NO_PYTHON=1
)
emake "${myemakeargs[@]}" tools-only_defconfig
emake "${myemakeargs[@]}" \
NO_SDL=1 \
HOSTSTRIP=: \