فهرست منبع

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>
Peter Korsgaard 10 سال پیش
والد
کامیت
71539b69ae
2فایلهای تغییر یافته به همراه2 افزوده شده و 6 حذف شده
  1. 2 1
      package/read-edid/Config.in
  2. 0 5
      package/read-edid/read-edid.mk

+ 2 - 1
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/

+ 0 - 5
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))