aboutsummaryrefslogtreecommitdiff
path: root/sim/igen
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/igen
parenteaa13962f22acfe8bff388e2bc4d7335ec3fe802 (diff)
downloadbinutils-9a7472d7c599453405484f2df5206e56b7618fb3.zip
binutils-9a7472d7c599453405484f2df5206e56b7618fb3.tar.gz
binutils-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/igen')
-rw-r--r--sim/igen/local.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/igen/local.mk b/sim/igen/local.mk
index 0126a2c..75b9ceb 100644
--- a/sim/igen/local.mk
+++ b/sim/igen/local.mk
@@ -27,7 +27,7 @@ IGEN_RUN = ASAN_OPTIONS=detect_leaks=0 $(IGEN) $(IGEN_FLAGS_SMP)
# Alias for developers.
igen: $(IGEN)
-noinst_LIBRARIES += %D%/libigen.a
+EXTRA_LIBRARIES += %D%/libigen.a
%C%_libigen_a_SOURCES = \
%D%/table.c \
%D%/lf.c \