librtas: 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>
2016.11.x
Gustavo Zacarias 2016-10-17 13:05:52 -03:00 committed by Thomas Petazzoni
parent bca16d96b5
commit da006138cd
1 changed files with 2 additions and 2 deletions

View File

@ -15,11 +15,11 @@ define LIBRTAS_BUILD_CMDS
endef
define LIBRTAS_INSTALL_STAGING_CMDS
$(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install
endef
define LIBRTAS_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
endef
$(eval $(generic-package))