Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/u-boot-tools/
Date: Tue, 05 Feb 2019 06:27:13
Message-Id: 1549347889.4d3a59e4c78ac73caebfe874de06466d192c64a6.radhermit@gentoo
1 commit: 4d3a59e4c78ac73caebfe874de06466d192c64a6
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 5 06:15:22 2019 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 5 06:24:49 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d3a59e4
7
8 dev-embedded/u-boot-tools: version bump to 2019.01
9
10 Closes: https://bugs.gentoo.org/676508
11
12 Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>
13
14 dev-embedded/u-boot-tools/Manifest | 1 +
15 .../u-boot-tools/u-boot-tools-2019.01.ebuild | 59 ++++++++++++++++++++++
16 2 files changed, 60 insertions(+)
17
18 diff --git a/dev-embedded/u-boot-tools/Manifest b/dev-embedded/u-boot-tools/Manifest
19 index e92cb5bf691..4d7d550ba90 100644
20 --- a/dev-embedded/u-boot-tools/Manifest
21 +++ b/dev-embedded/u-boot-tools/Manifest
22 @@ -1,2 +1,3 @@
23 DIST u-boot-2018.05.tar.bz2 12469276 BLAKE2B b09189d9bf8554c21630d42024d64894270c02e3efa8046bc2bef0efd68b9e0a02c3290228ffb71a4bab524d46111e32adb492c3ce9a3ef1be32287a3bbdb36a SHA512 218f71282c9d027b0faf210ce2d4d713779e0c61ea4a23f03d5dec0ca8836a3c26b46c5e258d583834f5b5a2f4663f98729ca4b0101a60f85457eb892f8370d2
24 DIST u-boot-2018.11.tar.bz2 13045125 BLAKE2B d2522e1eb2fb899f1217261b6c311be35ae2fb01d187714311184e6f913d1d5b3ad953b5fa02c5c7b0e1e5981be101ce82ea4cf09a457d32d778ffa5cadc0786 SHA512 1ea0bbb5f5e6d4c60b3a6bd345d1fa6e9da025daf36f47e8392bab34cb432c2e3633d903efb260f71fff87dffd6f2bf09ac900e96b3d4247073958d83b89ceff
25 +DIST u-boot-2019.01.tar.bz2 13366005 BLAKE2B 161d927d5f2cb38c6a930f0b5edfedeb3a93586ea98e03066a1fa9c516bfc1f6ab8d5ba60b36714d10c08232971e7a0987f4d0a05635fa14a6359bb120aa0ed2 SHA512 d9699cd22afe9bc747d64208068c2cf8a2c3143d161ede24536f6fd6adfd6b81e28920589722639e2e48fcf34e8dbde3ead7f691f14cbcc38cd75694d14d719b
26
27 diff --git a/dev-embedded/u-boot-tools/u-boot-tools-2019.01.ebuild b/dev-embedded/u-boot-tools/u-boot-tools-2019.01.ebuild
28 new file mode 100644
29 index 00000000000..ef93a005196
30 --- /dev/null
31 +++ b/dev-embedded/u-boot-tools/u-boot-tools-2019.01.ebuild
32 @@ -0,0 +1,59 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +inherit toolchain-funcs
39 +
40 +MY_P="u-boot-${PV/_/-}"
41 +DESCRIPTION="utilities for working with Das U-Boot"
42 +HOMEPAGE="http://www.denx.de/wiki/U-Boot/WebHome"
43 +SRC_URI="ftp://ftp.denx.de/pub/u-boot/${MY_P}.tar.bz2"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
48 +IUSE=""
49 +
50 +DEPEND="
51 + sys-devel/flex
52 + sys-devel/bison
53 +"
54 +
55 +S=${WORKDIR}/${MY_P}
56 +
57 +src_compile() {
58 + # Unset a few KBUILD variables. Bug #540476
59 + unset KBUILD_OUTPUT KBUILD_SRC
60 +
61 + emake \
62 + V=1 \
63 + HOSTCC="$(tc-getCC)" \
64 + HOSTCFLAGS="${CFLAGS} ${CPPFLAGS}"' $(HOSTCPPFLAGS)' \
65 + HOSTLDFLAGS="${LDFLAGS}" \
66 + defconfig
67 +
68 + emake \
69 + V=1 \
70 + NO_SDL=1 \
71 + HOSTSTRIP=: \
72 + STRIP=: \
73 + HOSTCC="$(tc-getCC)" \
74 + HOSTCFLAGS="${CFLAGS} ${CPPFLAGS}"' $(HOSTCPPFLAGS)' \
75 + HOSTLDFLAGS="${LDFLAGS}" \
76 + CONFIG_ENV_OVERWRITE=y \
77 + tools-all
78 +}
79 +
80 +src_test() { :; }
81 +
82 +src_install() {
83 + cd tools || die
84 + dobin bmp_logo dumpimage fdtgrep gen_eth_addr img2srec mkenvimage mkimage
85 + dobin easylogo/easylogo
86 + dobin env/fw_printenv
87 + dosym fw_printenv /usr/bin/fw_setenv
88 + insinto /etc
89 + doins env/fw_env.config
90 + doman "${S}"/doc/mkimage.1
91 +}