From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mediacenter.hi.pengutronix.de ([2001:6f8:1178:2::65]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1SZm6H-00078j-T1 for ptxdist@pengutronix.de; Wed, 30 May 2012 18:50:21 +0200 Received: from mol by mediacenter.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1SZm6H-0008Ny-Rz for ptxdist@pengutronix.de; Wed, 30 May 2012 18:50:21 +0200 Date: Wed, 30 May 2012 18:50:21 +0200 From: Michael Olbrich Message-ID: <20120530165021.GH31687@pengutronix.de> References: <1338208981-8681-16-git-send-email-bartvdrmeulen@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1338208981-8681-16-git-send-email-bartvdrmeulen@gmail.com> Subject: Re: [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: , 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 On Mon, May 28, 2012 at 02:42:42PM +0200, Bart vdr. Meulen wrote: > 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. Can you elaborate, what the problem is? gdb uses autoconf. All the relevant variables should be set during configure. Michael > 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 > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de