From: Gustavo Zacarias Date: Mon, 17 Oct 2016 16:05:54 +0000 (-0300) Subject: botan: use $(TARGET_MAKE_ENV) when calling $(MAKE) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1889786650da4815378224e5706b34a1c7f8ba06;p=buildroot.git botan: use $(TARGET_MAKE_ENV) when calling $(MAKE) Signed-off-by: Gustavo Zacarias Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- diff --git a/package/botan/botan.mk b/package/botan/botan.mk index 69c973eab0..94f1edd2c8 100644 --- a/package/botan/botan.mk +++ b/package/botan/botan.mk @@ -44,19 +44,19 @@ BOTAN_CONF_OPTS += --with-zlib endif define BOTAN_CONFIGURE_CMDS - (cd $(@D); ./configure.py $(BOTAN_CONF_OPTS)) + (cd $(@D); $(TARGET_MAKE_ENV) ./configure.py $(BOTAN_CONF_OPTS)) endef define BOTAN_BUILD_CMDS - $(MAKE) -C $(@D) AR="$(TARGET_AR) crs" + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) AR="$(TARGET_AR) crs" endef define BOTAN_INSTALL_STAGING_CMDS - $(MAKE) -C $(@D) DESTDIR="$(STAGING_DIR)/usr" install + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(STAGING_DIR)/usr" install endef define BOTAN_INSTALL_TARGET_CMDS - $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)/usr" install + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)/usr" install endef $(eval $(generic-package))