read-edid: make available for !x86

It is only the get-edid tool that is x86 specific, parse-edid builds and
works fine on other architectures so make it available everywhere.

Also drop the custom install step as 'make install' does the right thing.
This does cause us to install into /usr/sbin instead of /sbin, but as that
is what upstream wants we can consider that a bugfix.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2015-01-14 16:30:58 +01:00
parent eacb002414
commit 71539b69ae
2 changed files with 2 additions and 6 deletions

View File

@ -1,6 +1,5 @@
config BR2_PACKAGE_READ_EDID
bool "read-edid"
depends on BR2_i386
help
Read-edid is a pair of tools for reading the EDID from a
monitor. It should work with most monitors made since 1996
@ -11,4 +10,6 @@ config BR2_PACKAGE_READ_EDID
which turns the raw binary information into an
XF86Config-compatible monitor section.
Notice that the get-edid tool is only available on x86.
http://polypux.org/projects/read-edid/

View File

@ -13,9 +13,4 @@ define READ_EDID_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
define READ_EDID_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/get-edid $(TARGET_DIR)/sbin/get-edid
$(INSTALL) -D -m 0755 $(@D)/parse-edid $(TARGET_DIR)/sbin/parse-edid
endef
$(eval $(autotools-package))