From 71539b69ae9bf521aaf8c2adb48545a9355dce5b Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 14 Jan 2015 16:30:58 +0100 Subject: [PATCH] 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 --- package/read-edid/Config.in | 3 ++- package/read-edid/read-edid.mk | 5 ----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/package/read-edid/Config.in b/package/read-edid/Config.in index bdcb7a7d2e..f1ad1c4979 100644 --- a/package/read-edid/Config.in +++ b/package/read-edid/Config.in @@ -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/ diff --git a/package/read-edid/read-edid.mk b/package/read-edid/read-edid.mk index 54064d38db..f047e79b8d 100644 --- a/package/read-edid/read-edid.mk +++ b/package/read-edid/read-edid.mk @@ -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)) -- 2.30.2