commit:     0d328738606647024c5858d696edb181c74f8b39
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 30 22:10:50 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Mar 30 22:40:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d328738

sys-apps/flashrom: live ebuild: do not restrict USE=tools to PC arches

Although the input of ich_descriptors_tool is very much Intel-specific,
as far as I can tell from looking at the code the tool should work
without problems on other arches as well.

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 sys-apps/flashrom/flashrom-9999.ebuild | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/sys-apps/flashrom/flashrom-9999.ebuild 
b/sys-apps/flashrom/flashrom-9999.ebuild
index 465d5969df3..179cecf09ef 100644
--- a/sys-apps/flashrom/flashrom-9999.ebuild
+++ b/sys-apps/flashrom/flashrom-9999.ebuild
@@ -156,11 +156,7 @@ src_install() {
        dolib.a libflashrom.a
        doheader libflashrom.h
 
-       if use tools ; then
-               if use amd64 ; then
-                       dosbin util/ich_descriptors_tool/ich_descriptors_tool
-               elif use x86 ; then
-                       dosbin util/ich_descriptors_tool/ich_descriptors_tool
-               fi
+       if use tools; then
+               dosbin util/ich_descriptors_tool/ich_descriptors_tool
        fi
 }

Reply via email to