From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wg0-f50.google.com ([74.125.82.50]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SYzIO-00089w-88 for ptxdist@pengutronix.de; Mon, 28 May 2012 14:44:04 +0200 Received: by wgbds11 with SMTP id ds11so2204132wgb.7 for ; Mon, 28 May 2012 05:43:27 -0700 (PDT) From: "Bart vdr. Meulen" Date: Mon, 28 May 2012 14:42:42 +0200 Message-Id: <1338208981-8681-16-git-send-email-bartvdrmeulen@gmail.com> Subject: [ptxdist] [PATCH] gdb: Use CONF_ENV and MAKE_ENV Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de From: "Bart vdr. Meulen" Use CONF_ENV and MAKE_ENV variables for building GDB 7.2 instead of the deprecated _ENV variable. This ensures that system-header dir is passed on correctly to gdb make environment. Signed-off-by: Bart vdr. Meulen --- rules/gdb.make | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rules/gdb.make b/rules/gdb.make index 4309f3d..ecbe020 100644 --- a/rules/gdb.make +++ b/rules/gdb.make @@ -34,7 +34,10 @@ GDB_URL := \ # Prepare # ---------------------------------------------------------------------------- -GDB_ENV := \ +GDB_CONV_ENV := \ + $(CROSS_ENV) \ + $(CROSS_ENV_FLAGS_FOR_TARGET) +GDB_MAKE_ENV := \ $(CROSS_ENV) \ $(CROSS_ENV_FLAGS_FOR_TARGET) -- 1.7.9.5 -- ptxdist mailing list ptxdist@pengutronix.de