aboutsummaryrefslogtreecommitdiff
path: root/sim/Makefile.am
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-01-14 21:55:31 -0500
committerMike Frysinger <vapier@gentoo.org>2023-01-15 02:07:43 -0500
commit9a7472d7c599453405484f2df5206e56b7618fb3 (patch)
tree691d9fc65f470bd3f458ddb6de32d475c7a43970 /sim/Makefile.am
parenteaa13962f22acfe8bff388e2bc4d7335ec3fe802 (diff)
downloadgdb-9a7472d7c599453405484f2df5206e56b7618fb3.zip
gdb-9a7472d7c599453405484f2df5206e56b7618fb3.tar.gz
gdb-9a7472d7c599453405484f2df5206e56b7618fb3.tar.bz2
sim: igen: simplify build logic a little
Now that all ports (that use igen) build in the top-level and depend on igen, we can move the conditional logic out of configure. We also switch from noinst_LIBRARIES to EXTRA_LIBRARIES so that the library is only built when needed (i.e. the igen tool is used).
Diffstat (limited to 'sim/Makefile.am')
-rw-r--r--sim/Makefile.am3
1 files changed, 1 insertions, 2 deletions
diff --git a/sim/Makefile.am b/sim/Makefile.am
index 0e9fc3c..3693eb1 100644
--- a/sim/Makefile.am
+++ b/sim/Makefile.am
@@ -33,6 +33,7 @@ SIM_PRIMARY_TARGET = @SIM_PRIMARY_TARGET@
pkginclude_HEADERS =
check_PROGRAMS =
noinst_PROGRAMS =
+EXTRA_LIBRARIES =
noinst_LIBRARIES =
EXTRA_PROGRAMS =
BUILT_SOURCES =
@@ -101,9 +102,7 @@ SIM_COMPILE = \
$(am__mv) $(SIM_DEPBASE).Tpo $(SIM_DEPBASE).Po
include common/local.mk
-if SIM_ENABLE_IGEN
include igen/local.mk
-endif
include testsuite/local.mk
## Arch includes must come after common/local.mk.