From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8B08413835A for ; Fri, 19 Feb 2021 08:19:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD766E0C0C; Fri, 19 Feb 2021 08:19:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 93B35E0C0C for ; Fri, 19 Feb 2021 08:19:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 70B30340F5A for ; Fri, 19 Feb 2021 08:18:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1FE84C8 for ; Fri, 19 Feb 2021 08:18:57 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1613722731.f4f8e821f7c750d3db6e6828a8cd70dc272c4dbd.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/u-boot-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-embedded/u-boot-tools/Manifest dev-embedded/u-boot-tools/u-boot-tools-2021.04_rc2.ebuild X-VCS-Directories: dev-embedded/u-boot-tools/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: f4f8e821f7c750d3db6e6828a8cd70dc272c4dbd X-VCS-Branch: master Date: Fri, 19 Feb 2021 08:18:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9fd052a5-0479-483a-86a1-88ebcd4f3180 X-Archives-Hash: 2de0399edf9836cd6767d2aeba91d520 commit: f4f8e821f7c750d3db6e6828a8cd70dc272c4dbd Author: Sergei Trofimovich gentoo org> AuthorDate: Fri Feb 19 08:17:03 2021 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Feb 19 08:18:51 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4f8e821 dev-embedded/u-boot-tools: bump up to 2020.04-r2 Bug: https://bugs.gentoo.org/771555 Closes: https://bugs.gentoo.org/745117 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich gentoo.org> dev-embedded/u-boot-tools/Manifest | 1 + .../u-boot-tools/u-boot-tools-2021.04_rc2.ebuild | 76 ++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/dev-embedded/u-boot-tools/Manifest b/dev-embedded/u-boot-tools/Manifest index 5f797413a43..28bb0bb6e68 100644 --- a/dev-embedded/u-boot-tools/Manifest +++ b/dev-embedded/u-boot-tools/Manifest @@ -1 +1,2 @@ DIST u-boot-2020.04.tar.bz2 15065656 BLAKE2B 29cf8be6027ce46e3bf3fae9b6736e6aba46dba2904112f845d79f50b52b7c7ff3437c71dac6ab22d112347467fb5baaa3ec421cb842ba3ae9b547e4f8378d03 SHA512 e04fe54883149123730605b084324ac0d1d72ce6913467bbe587a5a2675bcf7bb393405d9a446dc0c64ba42abc1e862ae5a132e9e51aa7390e2e9fce045af8d8 +DIST u-boot-2021.04-rc2.tar.bz2 16620315 BLAKE2B e16c167346ef3999443855b9a702bf28faacf51b7887c84096f7a372a0c820d6ed9f06c1dd209b4070adf8000853b58b7b9b81c5b32a973d37558acf1da2edfa SHA512 7bf07f15e0c5f5e63ef8cb9568278ea7c209e484bbb599c47b22a8d2e5c007cc204eec365e5328dea3e7b016cd6ba0cb4c917330cc76163b1016f7c7762ad1bf diff --git a/dev-embedded/u-boot-tools/u-boot-tools-2021.04_rc2.ebuild b/dev-embedded/u-boot-tools/u-boot-tools-2021.04_rc2.ebuild new file mode 100644 index 00000000000..68920a63129 --- /dev/null +++ b/dev-embedded/u-boot-tools/u-boot-tools-2021.04_rc2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +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="ftp://ftp.denx.de/pub/u-boot/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="" + +RDEPEND="dev-libs/openssl:0=" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/bison + sys-devel/flex +" + +S=${WORKDIR}/${MY_P} + +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 CC PKG_CONFIG +} + +src_compile() { + # Unset a few KBUILD variables. Bug #540476 + unset KBUILD_OUTPUT KBUILD_SRC + + emake \ + V=1 \ + AR="${AR}" \ + CC="${CC}" \ + HOSTCC="${CC}" \ + HOSTCFLAGS="${CFLAGS} ${CPPFLAGS}"' $(HOSTCPPFLAGS)' \ + HOSTLDFLAGS="${LDFLAGS}" \ + tools-only_defconfig + + emake \ + V=1 \ + NO_SDL=1 \ + HOSTSTRIP=: \ + STRIP=: \ + AR="${AR}" \ + CC="${CC}" \ + HOSTCC="${CC}" \ + HOSTCFLAGS="${CFLAGS} ${CPPFLAGS}"' $(HOSTCPPFLAGS)' \ + HOSTLDFLAGS="${LDFLAGS}" \ + CONFIG_ENV_OVERWRITE=y \ + tools-all +} + +src_test() { :; } + +src_install() { + cd tools || die + dobin bmp_logo dumpimage fdtgrep gen_eth_addr img2srec mkenvimage mkimage + dobin env/fw_printenv + dosym fw_printenv /usr/bin/fw_setenv + insinto /etc + doins env/fw_env.config + doman "${S}"/doc/mkimage.1 +}