aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-15 23:01:45 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-18 10:11:58 -0400
commit3f8414df7a533cccd39bf19c0e311975d9ededde (patch)
treee3845b4009ae095c44a0100d4a9b96971b2541da /sim/common
parent162c6aef1f3a96923e75f0b4ef430822d273465c (diff)
downloadgdb-3f8414df7a533cccd39bf19c0e311975d9ededde.zip
gdb-3f8414df7a533cccd39bf19c0e311975d9ededde.tar.gz
gdb-3f8414df7a533cccd39bf19c0e311975d9ededde.tar.bz2
sim: create a makefile fragment to pass common settings down
As we merge settings from subdirs into the common configure, we sometimes need to keep the settings working in both dirs. Create a makefile fragment to pass them down so we don't have to run the checks twice. For now, the file is empty, but we'll start moving logic in shortly.
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/Make-common.in3
2 files changed, 7 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 61da7e9..842a897 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,9 @@
2021-06-18 Mike Frysinger <vapier@gentoo.org>
+ * Make-common.in: Include ../arch-subdir.mk.
+
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
* cgen-run.c: Include sim-signal.h.
* cgen-utils.c, nrun.c, sim-core.c, sim-engine.c, sim-reason.c,
sim-resume.c, sim-signal.c, sim-stop.c, sim-watch.c: Likewise.
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 7a6a203..b82e76c 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -46,6 +46,9 @@ include $(srcroot)/gdb/silent-rules.mk
GNULIB_PARENT_DIR = ../..
include $(GNULIB_PARENT_DIR)/gnulib/Makefile.gnulib.inc
+# Settings from top-level configure.
+include ../arch-subdir.mk
+
prefix = @prefix@
exec_prefix = @exec_prefix@