aboutsummaryrefslogtreecommitdiff
path: root/sim/arch-subdir.mk.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-19 10:42:37 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-20 00:25:13 -0400
commit1bf5c34239398dac1452e064b7194869054cf398 (patch)
treec2f4f0d0415fd9375c836e456395e568c4fcab8d /sim/arch-subdir.mk.in
parent4ca8baee000128932f0cd61b226fa5b53656fc32 (diff)
downloadgdb-1bf5c34239398dac1452e064b7194869054cf398.zip
gdb-1bf5c34239398dac1452e064b7194869054cf398.tar.gz
gdb-1bf5c34239398dac1452e064b7194869054cf398.tar.bz2
sim: unify cgen maintainer settings
Move these options up to the common dir so we only test & export them once across all ports. It makes it available to targets that aren't cgen-based, but those will just ignore the settings, so it shouldn't be an issue.
Diffstat (limited to 'sim/arch-subdir.mk.in')
-rw-r--r--sim/arch-subdir.mk.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/sim/arch-subdir.mk.in b/sim/arch-subdir.mk.in
index 4352f92..321366e 100644
--- a/sim/arch-subdir.mk.in
+++ b/sim/arch-subdir.mk.in
@@ -54,4 +54,10 @@ COMMON_LIBS = @LIBS@
WARN_CFLAGS = @WARN_CFLAGS@
WERROR_CFLAGS = @WERROR_CFLAGS@
+# cgen support, enable with --enable-cgen-maint
+CGEN_MAINT = ; @true
+# The following line is commented in or out depending upon --enable-cgen-maint.
+@CGEN_MAINT@CGEN_MAINT =
+CGENDIR = @cgendir@
+
SIM_INLINE = @SIM_INLINE@