From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/u-boot-tools/
Date: Mon, 24 Feb 2025 08:06:18 +0000 (UTC) [thread overview]
Message-ID: <1740384137.9282043d83a88a99f1bfa6ab4dbb221865081178.flow@gentoo> (raw)
commit: 9282043d83a88a99f1bfa6ab4dbb221865081178
Author: Jay Faulkner <jay <AT> jvf <DOT> cc>
AuthorDate: Sun Feb 23 20:57:47 2025 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Feb 24 08:02:17 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9282043d
dev-embedded/u-boot-tools: add 2025.01
This updates to 2025.01, which skips multiple intermediate releases
in the 2024.xx series which were never packaged. We need 2025.01,
the first release that supports the incoming swig 4.3.0 upgrade.
I am not a regular user of u-boot-tools, but the update appears to
be straightforward, builds cleanly, and tools work well enough to
return usage without crashing.
The fix for swig 4.3.0 is a63456b9191fae2fe49f4b121e025792022e3950.
Signed-off-by: Jay Faulkner <jay <AT> jvf.cc>
Closes: https://github.com/gentoo/gentoo/pull/40721
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
dev-embedded/u-boot-tools/Manifest | 1 +
.../u-boot-tools/u-boot-tools-2025.01.ebuild | 87 ++++++++++++++++++++++
2 files changed, 88 insertions(+)
diff --git a/dev-embedded/u-boot-tools/Manifest b/dev-embedded/u-boot-tools/Manifest
index 16374ec8372d..dddf6589185c 100644
--- a/dev-embedded/u-boot-tools/Manifest
+++ b/dev-embedded/u-boot-tools/Manifest
@@ -1,2 +1,3 @@
DIST u-boot-2024.01.tar.bz2 19926911 BLAKE2B c62a22f56276426917b0db508ad7dc82efa4fe7be14c5e7d79ecdea172b2b383981b7e65b7e920b196d0162a17fb362ef97a8d758a1b30e509e3c66748d2c106 SHA512 45bd093ba3bda23e43cdde83d8656c1ee1348ac2886ecff1fee475f101ac4965a5be6565408fa5b990c723f3fdc833edfca60a719f735a43040cd14a1b59a88b
+DIST u-boot-2025.01.tar.bz2 32890299 BLAKE2B fc25edd7079de9ef803508b1686b6ac1778e637325a38d9fcb5ba66c875a31132456b6ee429200284a0ba48802db50ea33267dafe066b89481eff3c11882d763 SHA512 e22202b568f90de15e4e20317e13d68ce106256eadeeae5017241cdd4a1d133cdfd14297b403c7391bf65d022061ad4e1cbe862c480fddbd13f97b756305f188
DIST u-boot-tools-2024.01-fix-invalid-escape-sequence.patch 1285 BLAKE2B ad0af975b59794f21a44472a1f1b4542e75e478d51e649a6c339a4af9963cb4b822e6eba6819cbd3d35c09f3c33f1995288ef296e07466a427cf1f0dd0a399e1 SHA512 8675c267ca5a234924bdf8fc03dcaf75501cf86ac7a9b2e7fbc7982b9620e8863af289c124c5e91cccee58cc116b4d2798be745dedc1b28099a143f3464ad4d6
diff --git a/dev-embedded/u-boot-tools/u-boot-tools-2025.01.ebuild b/dev-embedded/u-boot-tools/u-boot-tools-2025.01.ebuild
new file mode 100644
index 000000000000..8e38578e834b
--- /dev/null
+++ b/dev-embedded/u-boot-tools/u-boot-tools-2025.01.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_P="u-boot-${PV/_/-}"
+DESCRIPTION="utilities for working with Das U-Boot"
+HOMEPAGE="https://www.denx.de/wiki/U-Boot/WebHome"
+SRC_URI="
+ https://ftp.denx.de/pub/u-boot/${MY_P}.tar.bz2
+"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="envtools"
+
+RDEPEND="
+ dev-libs/openssl:=
+ net-libs/gnutls:=
+ sys-apps/util-linux:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-lang/swig
+ app-alternatives/yacc
+ app-alternatives/lex
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+ sed -i 's:\bpkg-config\b:${PKG_CONFIG}:g' \
+ scripts/kconfig/{g,m,n,q}conf-cfg.sh \
+ scripts/kconfig/Makefile \
+ tools/Makefile || die
+}
+
+src_configure() {
+ tc-export AR BUILD_CC CC PKG_CONFIG
+ tc-export_build_env
+}
+
+src_compile() {
+ # Unset a few KBUILD variables. Bug #540476
+ unset KBUILD_OUTPUT KBUILD_SRC
+
+ local myemakeargs=(
+ V=1
+ AR="${AR}"
+ CC="${CC}"
+ HOSTCC="${BUILD_CC}"
+ HOSTCFLAGS="${BUILD_CFLAGS} ${BUILD_CPPFLAGS}"' $(HOSTCPPFLAGS)'
+ HOSTLDFLAGS="${BUILD_LDFLAGS}"
+ )
+
+ emake "${myemakeargs[@]}" tools-only_defconfig
+
+ emake "${myemakeargs[@]}" \
+ NO_SDL=1 \
+ HOSTSTRIP=: \
+ STRIP=: \
+ CONFIG_ENV_OVERWRITE=y \
+ $(usex envtools envtools tools-all)
+}
+
+src_test() { :; }
+
+src_install() {
+ cd tools || die
+
+ if ! use envtools; then
+ dobin dumpimage fdtgrep gen_eth_addr img2srec mkeficapsule mkenvimage mkimage
+ fi
+
+ dobin env/fw_printenv
+
+ dosym fw_printenv /usr/bin/fw_setenv
+
+ insinto /etc
+ doins env/fw_env.config
+
+ doman ../doc/mkimage.1
+}
next reply other threads:[~2025-02-24 8:06 UTC|newest]
Thread overview: 114+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-24 8:06 Florian Schmaus [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-06 14:36 [gentoo-commits] repo/gentoo:master commit in: dev-embedded/u-boot-tools/ Jakov Smolić
2024-08-06 14:36 Jakov Smolić
2024-08-06 14:36 Jakov Smolić
2024-07-12 10:29 Sam James
2024-07-12 10:29 Sam James
2024-07-12 8:14 Arthur Zamarin
2024-07-12 8:14 Arthur Zamarin
2024-07-12 8:14 Arthur Zamarin
2024-07-12 8:14 Arthur Zamarin
2024-02-15 18:11 Florian Schmaus
2024-02-04 10:25 Jakov Smolić
2023-11-22 17:10 Jakov Smolić
2023-11-17 12:16 Arthur Zamarin
2023-11-17 12:07 Sam James
2023-11-17 11:13 Sam James
2023-11-17 11:09 Sam James
2023-11-17 11:09 Sam James
2023-11-17 11:09 Sam James
2023-10-11 21:07 Jakov Smolić
2023-04-03 7:33 Jakov Smolić
2023-03-29 20:08 Sam James
2023-03-29 14:36 Sam James
2023-03-29 14:36 Sam James
2023-03-29 14:33 Sam James
2023-03-29 14:33 Sam James
2023-03-29 14:33 Sam James
2023-01-25 6:44 Jakov Smolić
2023-01-25 6:44 Jakov Smolić
2022-12-12 23:09 Georgy Yakovlev
2022-12-04 17:56 Arthur Zamarin
2022-12-03 16:02 Arthur Zamarin
2022-12-03 11:43 Arthur Zamarin
2022-12-03 10:57 Sam James
2022-12-03 10:54 Sam James
2022-10-04 15:42 Jakov Smolić
2022-08-29 7:41 Jakov Smolić
2022-08-29 7:41 Jakov Smolić
2022-08-27 16:03 Sam James
2022-08-27 16:03 Sam James
2022-08-27 15:59 Jakov Smolić
2022-08-27 15:51 Arthur Zamarin
2022-08-27 15:49 Arthur Zamarin
2022-07-23 15:41 Jakov Smolić
2022-07-07 10:02 Jakov Smolić
2022-05-29 17:27 Jakov Smolić
2022-05-28 16:34 Jakov Smolić
2022-05-28 16:07 Jakov Smolić
2022-05-28 16:07 Jakov Smolić
2022-05-28 15:58 Jakov Smolić
2022-05-28 15:58 Jakov Smolić
2022-04-27 19:47 Jakov Smolić
2022-03-07 19:08 Jakov Smolić
2022-03-06 23:56 Sam James
2022-03-06 7:57 Sam James
2022-03-02 9:05 Agostino Sarubbo
2022-03-01 11:42 Jakov Smolić
2022-03-01 11:42 Jakov Smolić
2022-02-28 19:22 Jakov Smolić
2022-02-28 19:22 Jakov Smolić
2022-02-07 13:31 Jakov Smolić
2022-02-07 5:49 Sam James
2022-02-06 8:04 Agostino Sarubbo
2022-02-06 7:35 Sam James
2022-02-05 21:09 Jakov Smolić
2022-01-18 22:16 Sam James
2022-01-14 18:25 Jakov Smolić
2022-01-05 18:04 Arthur Zamarin
2022-01-04 18:08 Jakov Smolić
2021-10-04 6:34 Jakov Smolić
2021-10-03 18:48 Sam James
2021-10-03 17:52 Agostino Sarubbo
2021-10-02 15:43 Sam James
2021-08-30 21:23 Jakov Smolić
2021-07-24 6:22 John Helmert III
2021-06-22 19:45 Sam James
2021-06-21 19:05 Sam James
2021-06-21 19:05 Sam James
2021-02-28 12:22 Sergei Trofimovich
2021-02-19 8:18 Sergei Trofimovich
2021-01-06 6:37 Sam James
2021-01-06 6:34 Sam James
2021-01-06 1:05 Sam James
2020-08-31 9:23 Yixun Lan
2020-05-26 21:56 Sergei Trofimovich
2020-05-21 17:25 Mike Frysinger
2020-05-21 17:25 Mike Frysinger
2020-04-17 7:11 Sergei Trofimovich
2020-02-05 10:07 Tim Harder
2020-02-01 10:59 Sergei Trofimovich
2020-01-27 11:24 Mikle Kolyada
2020-01-17 10:30 Agostino Sarubbo
2020-01-17 9:29 Agostino Sarubbo
2020-01-16 20:25 Tim Harder
2019-12-13 19:56 Sergei Trofimovich
2019-12-13 7:01 Mikle Kolyada
2019-08-25 4:16 Georgy Yakovlev
2019-08-25 4:16 Georgy Yakovlev
2019-02-05 6:27 Tim Harder
2018-12-27 8:27 Tim Harder
2018-12-09 17:08 Mikle Kolyada
2018-11-10 22:50 Mikle Kolyada
2018-09-03 14:13 Mikle Kolyada
2018-06-26 17:42 Mikle Kolyada
2018-06-25 18:45 Tim Harder
2017-10-02 4:25 Tim Harder
2017-05-09 4:38 Tim Harder
2016-12-12 4:06 Tim Harder
2016-11-10 22:17 Tim Harder
2016-09-20 3:45 Tim Harder
2016-08-26 2:09 Tim Harder
2016-08-26 2:09 Tim Harder
2016-03-24 3:39 Tim Harder
2016-02-27 18:39 Stephen Klimaszewski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1740384137.9282043d83a88a99f1bfa6ab4dbb221865081178.flow@gentoo \
--to=flow@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox