public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] sim: moxie: fix datadir handling
@ 2021-11-28  5:56 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2021-11-28  5:56 UTC (permalink / raw)
  To: gdb-patches

Expand the value at `make` time rather than configure generation time
so that we handle $(datarootdir) setting properly.
---
 sim/moxie/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sim/moxie/Makefile.in b/sim/moxie/Makefile.in
index c33b3b63e2c8..6671389c2939 100644
--- a/sim/moxie/Makefile.in
+++ b/sim/moxie/Makefile.in
@@ -17,7 +17,7 @@
 
 ## COMMON_PRE_CONFIG_FRAG
 
-dtbdir = @datadir@/gdb/dtb
+dtbdir = $(datadir)/gdb/dtb
 
 SIM_OBJS = \
 	$(SIM_NEW_COMMON_OBJS) \
-- 
2.33.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-28  5:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-28  5:56 [PATCH] sim: moxie: fix datadir handling Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).