diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-22 22:31:12 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-23 18:12:43 -0400 |
commit | b34084121ae20b04e22d44d6a2891f54fef7ffd2 (patch) | |
tree | 47e2956f2e6829dda0a5a14555daeff16776d11f /sim/common | |
parent | 2dd865d7c13559fe389e0c3e9ba4a92c5e312e9b (diff) | |
download | gdb-b34084121ae20b04e22d44d6a2891f54fef7ffd2.zip gdb-b34084121ae20b04e22d44d6a2891f54fef7ffd2.tar.gz gdb-b34084121ae20b04e22d44d6a2891f54fef7ffd2.tar.bz2 |
sim: switch common srcdir to abs_srcdir
We rewrite srcdir in subdir Makefiles that we generate from the common
parent dir since it points to the parent dir. Since @srcdir@ can be a
variety of formats (relative & absolute), switch to @abs_srcdir@ which
is a lot easier to adjust. Our use of srcdir in here should handle it.
Diffstat (limited to 'sim/common')
-rw-r--r-- | sim/common/ChangeLog | 4 | ||||
-rw-r--r-- | sim/common/Make-common.in | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index fdfeca9..bb1a967 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,7 @@ +2021-06-23 Mike Frysinger <vapier@gentoo.org> + + * Make-common.in (srcdir): Change to abs_srcdir. + 2021-06-22 Mike Frysinger <vapier@gentoo.org> * callback.c (cb_target_to_host_signal): New function. diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in index 4bf1e2e..c203b4e 100644 --- a/sim/common/Make-common.in +++ b/sim/common/Make-common.in @@ -34,7 +34,7 @@ ## COMMON_PRE_CONFIG_FRAG -srcdir = @srcdir@ +srcdir = @abs_srcdir@ VPATH = $(srcdir):$(srccom) srccom = $(srcdir)/../common srcroot = $(srcdir)/../.. |