kumquat-buildroot/package/edid-decode/edid-decode.mk
Peter Korsgaard 8e38b5e556 edid-decode: use TARGET_MAKE_ENV
No functional change as it only uses $CC / mkdir / install, but add it for
consistency and in case future versions need it.

Suggested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-12-10 21:44:37 +01:00

22 lines
664 B
Makefile

################################################################################
#
# 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
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)"
endef
define EDID_DECODE_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
endef
$(eval $(generic-package))