dvb-apps: use $(TARGET_CONFIGURE_OPTS) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Gustavo Zacarias 2016-10-17 13:06:02 -03:00 committed by Thomas Petazzoni
parent 354554418b
commit e849c62bc6

View File

@ -30,11 +30,13 @@ define DVB_APPS_BUILD_CMDS
endef
define DVB_APPS_INSTALL_STAGING_CMDS
$(MAKE) -C $(@D) $(DVB_APPS_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
$(DVB_APPS_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install
endef
define DVB_APPS_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) $(DVB_APPS_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
$(DVB_APPS_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install
endef
$(eval $(generic-package))