[PATCH/committed] sim: drop old BUILT_SRC_FROM_COMMON ref

Message ID 20210620022413.21166-1-vapier@gentoo.org
State New
Headers show
Series
  • [PATCH/committed] sim: drop old BUILT_SRC_FROM_COMMON ref
Related show

Commit Message

Vasili Burdo via Gdb-patches June 20, 2021, 2:24 a.m.
The code that set & used this variable was deleted long ago,
but the clean target was missed.  Clean that up now.
---
 sim/common/ChangeLog      | 4 ++++
 sim/common/Make-common.in | 3 ---
 2 files changed, 4 insertions(+), 3 deletions(-)

-- 
2.31.1

Patch

diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 4398b8995664..455fe492d770 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,7 @@ 
+2021-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+	* Make-common.in (clean): Delete BUILT_SRC_FROM_COMMON usage.
+
 2021-06-19  Mike Frysinger  <vapier@gentoo.org>
 
 	* Make-common.in (CSEARCH): Change @INCINTL@ to $(INTL_CFLAGS).
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index 80e45c761830..63a0248f3cfb 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -518,9 +518,6 @@  mostlyclean clean: $(SIM_EXTRA_CLEAN)
 	rm -f hw-config.h stamp-hw
 	rm -f modules.c stamp-modules
 	rm -f gentmap targ-map.c targ-vals.h stamp-tvals
-	if [ ! -f Make-common.in ] ; then \
-		rm -f $(BUILT_SRC_FROM_COMMON) ; \
-	fi
 	rm -f tmp-mloop.hin tmp-mloop.h tmp-mloop.cin tmp-mloop.c
 
 distclean maintainer-clean realclean: clean $(SIM_EXTRA_DISTCLEAN)