From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 40368382FAD1 for ; Tue, 3 Jan 2023 07:58:51 +0000 (GMT) Received: by smtp.gentoo.org (Postfix, from userid 559) id EC60B340CD2; Tue, 3 Jan 2023 07:58:50 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH 76/83] sim: common: simplify hw-config.h deps Date: Tue, 3 Jan 2023 02:55:58 -0500 Message-Id: <20230103075605.13606-77-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,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: Now that all ports (other than ppc) build in the top-level, we don't need to expand all the hw-config.h targets as a recursive dep. Each port depends on their respective header now, and the ppc port doesn't use it at all. --- sim/Makefile.in | 19 +++++++++---------- sim/common/local.mk | 5 ++--- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/sim/common/local.mk b/sim/common/local.mk index 2c68f668d37c..c297668b0be9 100644 --- a/sim/common/local.mk +++ b/sim/common/local.mk @@ -131,9 +131,8 @@ endif touch $@ .PRECIOUS: %/stamp-hw -%C%_HW_CONFIG_H_TARGETS = $(patsubst %,%/hw-config.h,$(SIM_ENABLED_ARCHES)) -MOSTLYCLEANFILES += $(%C%_HW_CONFIG_H_TARGETS) $(patsubst %,%/stamp-hw,$(SIM_ENABLED_ARCHES)) -SIM_ALL_RECURSIVE_DEPS += $(%C%_HW_CONFIG_H_TARGETS) +%C%_HW_CONFIG_H_TARGETS = $(SIM_ENABLED_ARCHES:%=%/hw-config.h) +MOSTLYCLEANFILES += $(%C%_HW_CONFIG_H_TARGETS) $(SIM_ENABLED_ARCHES:%=%/stamp-hw) ## See sim_pre_argv_init and sim_module_install in sim-module.c for more details. ## TODO: Switch this to xxx_SOURCES once projects build objects in local.mk. -- 2.39.0