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>
This commit is contained in:
parent
e85a0bb03f
commit
8e38b5e556
@ -10,11 +10,12 @@ 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)"
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
||||
CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)"
|
||||
endef
|
||||
|
||||
define EDID_DECODE_INSTALL_TARGET_CMDS
|
||||
$(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
Loading…
Reference in New Issue
Block a user