sys-apps/flashrom: live ebuild: do not restrict USE=tools to PC arches
authorMarek Szuba <marecki@gentoo.org>
Mon, 30 Mar 2020 22:10:50 +0000 (23:10 +0100)
committerMarek Szuba <marecki@gentoo.org>
Mon, 30 Mar 2020 22:40:03 +0000 (23:40 +0100)
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@gentoo.org>
sys-apps/flashrom/flashrom-9999.ebuild

index 465d5969df38c82eba22d73b1ea9b679573db19e..179cecf09ef6fede1ddb19784ce52af515f25a77 100644 (file)
@@ -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
 }