From 2363ba65d77e532f4ab4073269ceda8c4e45967b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 1 Jan 2024 15:38:10 -0500 Subject: [PATCH] sim: igen: remove libigen.a when cleaning --- sim/Makefile.in | 12 ++++++------ sim/igen/local.mk | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sim/Makefile.in b/sim/Makefile.in index 5fa0230aaa3..bd3cec16d28 100644 --- a/sim/Makefile.in +++ b/sim/Makefile.in @@ -1794,12 +1794,12 @@ MOSTLYCLEANFILES = core $(SIM_ENABLED_ARCHES:%=%/*.o) \ $(SIM_ENABLED_ARCHES:%=%/stamp-hw) \ $(SIM_ENABLED_ARCHES:%=%/modules.c) \ $(SIM_ENABLED_ARCHES:%=%/stamp-modules) $(igen_IGEN_TOOLS) \ - site-sim-config.exp testrun.log testrun.sum $(am__append_17) \ - $(am__append_22) $(am__append_27) $(am__append_37) \ - $(am__append_45) $(am__append_49) $(am__append_53) \ - $(am__append_57) $(am__append_61) $(am__append_75) \ - $(am__append_80) $(am__append_88) $(am__append_103) \ - $(am__append_107) + igen/libigen.a site-sim-config.exp testrun.log testrun.sum \ + $(am__append_17) $(am__append_22) $(am__append_27) \ + $(am__append_37) $(am__append_45) $(am__append_49) \ + $(am__append_53) $(am__append_57) $(am__append_61) \ + $(am__append_75) $(am__append_80) $(am__append_88) \ + $(am__append_103) $(am__append_107) CONFIG_STATUS_DEPENDENCIES = $(srcroot)/bfd/development.sh AM_CFLAGS = \ $(WERROR_CFLAGS) \ diff --git a/sim/igen/local.mk b/sim/igen/local.mk index 75b9cebd8f7..f4487a89d3b 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