mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
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:
@@ -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=: \
|
||||
Reference in New Issue
Block a user