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 4CF2D385842B for ; Tue, 3 Jan 2023 07:56:17 +0000 (GMT) Received: by smtp.gentoo.org (Postfix, from userid 559) id CA5E6335D79; Tue, 3 Jan 2023 07:56:16 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH 03/83] sim: build: drop support for subdir extra deps Date: Tue, 3 Jan 2023 02:54:45 -0500 Message-Id: <20230103075605.13606-4-vapier@gentoo.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230103075605.13606-1-vapier@gentoo.org> References: <20230103075605.13606-1-vapier@gentoo.org> 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: Nothing uses this hook anymore, so punt it. It was largely used to track generated files (which we do in the top-level now) and extra header files (which we use automake depgen for now). --- sim/README-HACKING | 3 --- sim/common/Make-common.in | 14 -------------- 2 files changed, 17 deletions(-) diff --git a/sim/README-HACKING b/sim/README-HACKING index c47eef8ce73b..38d871b15141 100644 --- a/sim/README-HACKING +++ b/sim/README-HACKING @@ -46,9 +46,6 @@ The Makefile.in of a simulator using the common framework should look like: # List of object files, less common parts. SIM_OBJS = -# List of extra dependencies. -# Generally this consists of simulator specific files included by sim-main.h. -SIM_EXTRA_DEPS = # List of flags to always pass to $(CC). SIM_EXTRA_CFLAGS = # Dependency of `clean' to clean any extra files. diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in index b56a49a0051f..ab26c4943592 100644 --- a/sim/common/Make-common.in +++ b/sim/common/Make-common.in @@ -85,9 +85,6 @@ POSTCOMPILE = @true # List of object files, less common parts. SIM_OBJS = -# List of extra dependencies. -# Generally this consists of simulator specific files included by sim-main.h. -SIM_EXTRA_DEPS = # List of flags to always pass to $(CC). SIM_EXTRA_CFLAGS = # List of main object files for `run'. @@ -185,17 +182,6 @@ override POSTCOMPILE = endif all_object_files = $(LIB_OBJS) $(SIM_RUN_OBJS) -generated_files = \ - $(SIM_EXTRA_DEPS) - -# Ensure that generated files are created early. Use order-only -# dependencies if available. They require GNU make 3.80 or newer, -# and the .VARIABLES variable was introduced at the same time. -ifdef .VARIABLES -$(all_object_files): | $(generated_files) -else -$(all_object_files) : $(generated_files) -endif # Dependencies. -include $(patsubst %.o, $(DEPDIR)/%.Po, $(all_object_files)) -- 2.39.0