qwt: use $(TARGET_MAKE_ENV) 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:
parent
1d2103d6e8
commit
6614054ff6
|
@ -54,13 +54,13 @@ endef
|
|||
# that when building with qmake, -L$(STAGING_DIR)/usr/lib is used and
|
||||
# not -L/usr/lib.
|
||||
define QWT_INSTALL_STAGING_CMDS
|
||||
$(MAKE) -C $(@D) install INSTALL_ROOT=$(STAGING_DIR)
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install INSTALL_ROOT=$(STAGING_DIR)
|
||||
$(SED) "s%QWT_INSTALL_PREFIX = .*%QWT_INSTALL_PREFIX = $(STAGING_DIR)/usr%" \
|
||||
$(STAGING_DIR)/usr/mkspecs/features/qwtconfig.pri
|
||||
endef
|
||||
|
||||
define QWT_INSTALL_TARGET_CMDS
|
||||
$(MAKE) -C $(@D) install INSTALL_ROOT=$(TARGET_DIR)
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install INSTALL_ROOT=$(TARGET_DIR)
|
||||
rm -Rf $(TARGET_DIR)/usr/mkspecs
|
||||
endef
|
||||
|
||||
|
|
Loading…
Reference in a new issue