Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Ralf Corsepius <ralf.corsepius@rtems.org>
To: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Make-common.in seems to ignore --datarootdir
Date: Fri, 18 Sep 2009 10:17:00 -0000	[thread overview]
Message-ID: <1253269062.7211.2.camel@beck.corsepiu.local> (raw)

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

Hi,

When building gdb-6.8.91 with a simulator enabled, gdb's configuration 
issues a warning similar to this:

...
config.status: creating Make-common.sim
config.status: WARNING: 
'../../../gdb-6.8.91/sim/m32c/../common/Make-common.in' seems to ignore 
the --datarootdir setting
...

A fix to this is to add
datarootdir = @datarootdir@
to sim/common/Make-common.in

Patch enclosed below.

Ralf


[-- Attachment #2: gdb-6.8.91-sim-common-Make-common.in.diff --]
[-- Type: text/x-patch, Size: 551 bytes --]

2009-09-18	Ralf Corsepius <ralf.corsepius@rtems.org>

	* Make-common.in: Add datarootdir.

diff -Naur gdb-6.8.91.orig/sim/common/Make-common.in gdb-6.8.91-rtems4.10-20090918/sim/common/Make-common.in
--- gdb-6.8.91.orig/sim/common/Make-common.in	2009-07-12 18:59:34.000000000 +0200
+++ gdb-6.8.91-rtems4.10-20090918/sim/common/Make-common.in	2009-09-18 11:36:22.000000000 +0200
@@ -52,6 +52,7 @@
 tooldir = $(libdir)/$(target_alias)
 
 datadir = @datadir@
+datarootdir = @datarootdir@
 mandir = @mandir@
 man1dir = $(mandir)/man1
 infodir = @infodir@

             reply	other threads:[~2009-09-18 10:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-18 10:17 Ralf Corsepius [this message]
2009-09-18 20:33 ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1253269062.7211.2.camel@beck.corsepiu.local \
    --to=ralf.corsepius@rtems.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox