From patchwork Thu Oct 13 22:13:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: gustavo.zacarias@free-electrons.com X-Patchwork-Id: 682033 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3sw4qV3B3Gz9sC3 for ; Fri, 14 Oct 2016 09:17:58 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B0D40C2765; Thu, 13 Oct 2016 22:17:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YEmwBIj_u9tK; Thu, 13 Oct 2016 22:17:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 23C4BC27D4; Thu, 13 Oct 2016 22:17:56 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 086001C2229 for ; Thu, 13 Oct 2016 22:17:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0811E9293D for ; Thu, 13 Oct 2016 22:17:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WAwWvgIpR4DR for ; Thu, 13 Oct 2016 22:17:54 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from www.zacarias.com.ar (www.zacarias.com.ar [176.9.42.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id 5612792945 for ; Thu, 13 Oct 2016 22:17:54 +0000 (UTC) Received: from asgard (cpe-190-55-196-87.telecentro-reversos.com.ar [190.55.196.87] (may be forged)) (authenticated bits=0) by www.zacarias.com.ar (8.15.2/8.15.2) with ESMTPSA id u9DMHlO0027734 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 13 Oct 2016 22:17:50 GMT DMARC-Filter: OpenDMARC Filter v1.3.1 www.zacarias.com.ar u9DMHlO0027734 Authentication-Results: zacarias.com.ar; dmarc=none header.from=free-electrons.com Authentication-Results: zacarias.com.ar; spf=pass smtp.mailfrom=gustavo.zacarias@free-electrons.com Received: by asgard (sSMTP sendmail emulation); Thu, 13 Oct 2016 19:17:47 -0300 From: gustavo.zacarias@free-electrons.com To: buildroot@busybox.net Date: Thu, 13 Oct 2016 19:13:46 -0300 Message-Id: <1476396838-12276-40-git-send-email-gustavo.zacarias@free-electrons.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1476396838-12276-1-git-send-email-gustavo.zacarias@free-electrons.com> References: <1476396838-12276-1-git-send-email-gustavo.zacarias@free-electrons.com> X-Virus-Scanned: clamav-milter 0.99 at www X-Virus-Status: Clean Cc: Gustavo Zacarias Subject: [Buildroot] [PATCH 39/51] libfreeimage: use $(TARGET_MAKE_ENV) when calling $(MAKE) X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Gustavo Zacarias Signed-off-by: Gustavo Zacarias --- package/libfreeimage/libfreeimage.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libfreeimage/libfreeimage.mk b/package/libfreeimage/libfreeimage.mk index 2849e94..fe79689 100644 --- a/package/libfreeimage/libfreeimage.mk +++ b/package/libfreeimage/libfreeimage.mk @@ -22,11 +22,11 @@ define LIBFREEIMAGE_BUILD_CMDS endef define LIBFREEIMAGE_INSTALL_STAGING_CMDS - $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install endef define LIBFREEIMAGE_INSTALL_TARGET_CMDS - $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install endef $(eval $(generic-package))