From patchwork Thu Oct 13 22:13:25 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: 682019 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3sw4p10xHNz9rxw for ; Fri, 14 Oct 2016 09:16:41 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id C90B533A53; Thu, 13 Oct 2016 22:16:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 71J+YS3YWcvn; Thu, 13 Oct 2016 22:16:31 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id D3AAB33A69; Thu, 13 Oct 2016 22:15:55 +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 0DD491C2229 for ; Thu, 13 Oct 2016 22:15:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0C5AC9293B for ; Thu, 13 Oct 2016 22:15:53 +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 zHFpNQ+NEv3c for ; Thu, 13 Oct 2016 22:15:52 +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 B8FBA92865 for ; Thu, 13 Oct 2016 22:15:51 +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 u9DMFjaJ027143 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 13 Oct 2016 22:15:47 GMT DMARC-Filter: OpenDMARC Filter v1.3.1 www.zacarias.com.ar u9DMFjaJ027143 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:15:44 -0300 From: gustavo.zacarias@free-electrons.com To: buildroot@busybox.net Date: Thu, 13 Oct 2016 19:13:25 -0300 Message-Id: <1476396838-12276-19-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 18/51] ncurses: 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/ncurses/ncurses.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk index 2764824..9555f1e 100644 --- a/package/ncurses/ncurses.mk +++ b/package/ncurses/ncurses.mk @@ -127,9 +127,9 @@ endif # ncurses breaks with parallel build, but takes quite a while to # build single threaded. Work around it similar to how Gentoo does define NCURSES_BUILD_CMDS - $(MAKE1) -C $(@D) DESTDIR=$(STAGING_DIR) sources + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR=$(STAGING_DIR) sources rm -rf $(@D)/misc/pc-files - $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) endef ifneq ($(BR2_STATIC_LIBS),y)