edid-decode: new package

[Peter: pass TARGET_CFLAGS/LDFLAGS, quote TARGET_DIR]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Seiderer 2015-12-07 22:14:44 +01:00 committed by Peter Korsgaard
parent fa286d1800
commit f856c1f754
3 changed files with 27 additions and 0 deletions

View File

@ -340,6 +340,7 @@ endif
source "package/dtv-scan-tables/Config.in"
source "package/dvb-apps/Config.in"
source "package/dvbsnoop/Config.in"
source "package/edid-decode/Config.in"
source "package/eeprog/Config.in"
source "package/eudev/Config.in"
source "package/evemu/Config.in"

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_EDID_DECODE
bool "edid-decode"
help
Decode EDID data in human-readable format.
http://cgit.freedesktop.org/xorg/app/edid-decode/

View File

@ -0,0 +1,20 @@
################################################################################
#
# edid-decode
#
################################################################################
EDID_DECODE_VERSION = 681153145d5e05ee15032ea792e967cda06e7622
EDID_DECODE_SITE = git://anongit.freedesktop.org/git/xorg/app/edid-decode.git
EDID_DECODE_LICENSE = MIT
EDID_DECODE_LICENSE_FILES = edid-decode.c
define EDID_DECODE_BUILD_CMDS
$(MAKE) -C $(@D) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)"
endef
define EDID_DECODE_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
endef
$(eval $(generic-package))