aboutsummaryrefslogtreecommitdiff
path: root/sim/Makefile.am
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-02-21 23:35:46 -0500
committerMike Frysinger <vapier@gentoo.org>2021-04-02 23:35:47 -0400
commitb6b1c790843087e67e85e7cfd3327a872c03c6bc (patch)
tree761f7448c55252958c11490910ec256c8150b08f /sim/Makefile.am
parentc2783492b62faa62bc501ffdd18fa0b6aa8d64b6 (diff)
downloadgdb-b6b1c790843087e67e85e7cfd3327a872c03c6bc.zip
gdb-b6b1c790843087e67e85e7cfd3327a872c03c6bc.tar.gz
gdb-b6b1c790843087e67e85e7cfd3327a872c03c6bc.tar.bz2
sim: igen: merge build into top level
This simplifies the build a bit (especially for deps in port subdirs), and avoids recursive make. This in turn speeds up the build, and sets us up for multi-target.
Diffstat (limited to 'sim/Makefile.am')
-rw-r--r--sim/Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/sim/Makefile.am b/sim/Makefile.am
index f9084d3..79e162a 100644
--- a/sim/Makefile.am
+++ b/sim/Makefile.am
@@ -22,6 +22,11 @@ srcroot = $(srcdir)/..
SUBDIRS = @subdirs@
+# We don't set some of these vars here, but we need to define them so they may
+# be used consistently in local.mk files we include below.
+noinst_LIBRARIES =
+EXTRA_PROGRAMS =
+
MOSTLYCLEANFILES = core
COMPILE_FOR_BUILD = $(CC_FOR_BUILD) $(AM_CPPFLAGS) $(CFLAGS_FOR_BUILD)
@@ -38,4 +43,7 @@ nltvals:
$(abs_srcdir)/common/gennltvals.py --cpp "$(CPP)" --output nltvals.def --srcroot $(srcroot)
$(SHELL) $(srcroot)/move-if-change nltvals.def $(abs_srcdir)/common/nltvals.def
+if SIM_ENABLE_IGEN
+include igen/local.mk
+endif
include testsuite/local.mk