public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH/committed] sim: igen: remove libigen.a when cleaning
@ 2024-01-01 20:52 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2024-01-01 20:52 UTC (permalink / raw)
  To: gdb-patches

---
 sim/Makefile.in   | 12 ++++++------
 sim/igen/local.mk |  4 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/sim/igen/local.mk b/sim/igen/local.mk
index 75b9cebd8f7b..f4487a89d3b9 100644
--- a/sim/igen/local.mk
+++ b/sim/igen/local.mk
@@ -50,7 +50,7 @@ EXTRA_LIBRARIES += %D%/libigen.a
 %C%_igen_LDADD = %D%/libigen.a
 
 # These rules are copied from automake, but tweaked to use FOR_BUILD variables.
-igen/libigen.a: $(igen_libigen_a_OBJECTS) $(igen_libigen_a_DEPENDENCIES) $(EXTRA_igen_libigen_a_DEPENDENCIES) igen/$(am__dirstamp)
+%D%/libigen.a: $(igen_libigen_a_OBJECTS) $(igen_libigen_a_DEPENDENCIES) $(EXTRA_igen_libigen_a_DEPENDENCIES) %D%/$(am__dirstamp)
 	$(AM_V_at)-rm -f $@
 	$(AM_V_AR)$(AR_FOR_BUILD) $(ARFLAGS) $@ $(igen_libigen_a_OBJECTS) $(igen_libigen_a_LIBADD)
 	$(AM_V_at)$(RANLIB_FOR_BUILD) $@
@@ -93,4 +93,4 @@ igen/libigen.a: $(igen_libigen_a_OBJECTS) $(igen_libigen_a_DEPENDENCIES) $(EXTRA
 	%D%/ld-insn \
 	%D%/table
 EXTRA_PROGRAMS += $(%C%_IGEN_TOOLS)
-MOSTLYCLEANFILES += $(%C%_IGEN_TOOLS)
+MOSTLYCLEANFILES += $(%C%_IGEN_TOOLS) %D%/libigen.a
-- 
2.43.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-01 20:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-01 20:52 [PATCH/committed] sim: igen: remove libigen.a when cleaning Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).