From 2a005e97c913b205a7531a99970257c82397c359 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 25 Dec 2022 14:23:24 -0500 Subject: [PATCH] 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. --- sim/common/Make-common.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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) $< -- 2.30.2