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

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