From: Mike Frysinger Date: Sun, 25 Dec 2022 19:23:24 +0000 (-0500) Subject: sim: build: drop support for subdir distclean X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2a005e97c913b205a7531a99970257c82397c359;p=binutils-gdb.git sim: build: drop support for subdir distclean All ports that need to clean things up at distclean time have moved to the top-level build, so we can drop support for this hook. --- diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in index 7b1caa0781f..1e1ea0e7a20 100644 --- a/sim/common/Make-common.in +++ b/sim/common/Make-common.in @@ -102,8 +102,6 @@ SIM_EXTRA_LIBS = SIM_RUN_OBJS = nrun.o # Dependency of `clean' to clean any extra files. SIM_EXTRA_CLEAN = -# Likewise `distclean' -SIM_EXTRA_DISTCLEAN = # Every time a new general purpose source file was added every target's # Makefile.in needed to be updated to include the file in SIM_OBJS. @@ -276,9 +274,8 @@ mostlyclean clean: $(SIM_EXTRA_CLEAN) modules.c stamp-modules \ tmp-mloop.hin tmp-mloop.h tmp-mloop.cin tmp-mloop.c -distclean maintainer-clean realclean: clean $(SIM_EXTRA_DISTCLEAN) - rm -f TAGS - rm -f Makefile config.cache config.log config.status +distclean maintainer-clean realclean: clean + rm -f TAGS Makefile .c.o: $(COMPILE) $<