From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 0E78E3858D20 for ; Sun, 25 Dec 2022 19:25:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0E78E3858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org Received: by smtp.gentoo.org (Postfix, from userid 559) id 4007A340D87; Sun, 25 Dec 2022 19:25:38 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH] sim: build: drop support for subdir distclean Date: Sun, 25 Dec 2022 14:25:32 -0500 Message-Id: <20221225192532.29340-1-vapier@gentoo.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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 7b1caa0781f1..1e1ea0e7a202 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.39.0