Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/flashrom/
Date: Mon, 30 Mar 2020 22:42:47
Message-Id: 1585608003.0d328738606647024c5858d696edb181c74f8b39.marecki@gentoo
1 commit: 0d328738606647024c5858d696edb181c74f8b39
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 30 22:10:50 2020 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 30 22:40:03 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d328738
7
8 sys-apps/flashrom: live ebuild: do not restrict USE=tools to PC arches
9
10 Although the input of ich_descriptors_tool is very much Intel-specific,
11 as far as I can tell from looking at the code the tool should work
12 without problems on other arches as well.
13
14 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
15
16 sys-apps/flashrom/flashrom-9999.ebuild | 8 ++------
17 1 file changed, 2 insertions(+), 6 deletions(-)
18
19 diff --git a/sys-apps/flashrom/flashrom-9999.ebuild b/sys-apps/flashrom/flashrom-9999.ebuild
20 index 465d5969df3..179cecf09ef 100644
21 --- a/sys-apps/flashrom/flashrom-9999.ebuild
22 +++ b/sys-apps/flashrom/flashrom-9999.ebuild
23 @@ -156,11 +156,7 @@ src_install() {
24 dolib.a libflashrom.a
25 doheader libflashrom.h
26
27 - if use tools ; then
28 - if use amd64 ; then
29 - dosbin util/ich_descriptors_tool/ich_descriptors_tool
30 - elif use x86 ; then
31 - dosbin util/ich_descriptors_tool/ich_descriptors_tool
32 - fi
33 + if use tools; then
34 + dosbin util/ich_descriptors_tool/ich_descriptors_tool
35 fi
36 }