mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] gdb: Use CONF_ENV and MAKE_ENV
@ 2012-05-28 12:42 Bart vdr. Meulen
  2012-05-30 16:50 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Bart vdr. Meulen @ 2012-05-28 12:42 UTC (permalink / raw)
  To: ptxdist

From: "Bart vdr. Meulen" <bartvdrmeulen@gmail.com>

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 <bartvdrmeulen@gmail.com>
---
 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [PATCH] gdb: Use CONF_ENV and MAKE_ENV
  2012-05-28 12:42 [ptxdist] [PATCH] gdb: Use CONF_ENV and MAKE_ENV Bart vdr. Meulen
@ 2012-05-30 16:50 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2012-05-30 16:50 UTC (permalink / raw)
  To: ptxdist

On Mon, May 28, 2012 at 02:42:42PM +0200, Bart vdr. Meulen wrote:
> From: "Bart vdr. Meulen" <bartvdrmeulen@gmail.com>
> 
> 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 <bartvdrmeulen@gmail.com>
> ---
>  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-30 16:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-28 12:42 [ptxdist] [PATCH] gdb: Use CONF_ENV and MAKE_ENV Bart vdr. Meulen
2012-05-30 16:50 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox