aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-01-02 00:06:34 -0500
committerMike Frysinger <vapier@gentoo.org>2023-01-14 20:44:40 -0500
commit49444feaefc9ec5a64e5c9a0ce54923f50473013 (patch)
tree7bd56ba13e4c1f4eaf9e9a3ff27047a3a6700225 /sim/common
parent068b723abc3f642f2fa5408908049d3d21a98588 (diff)
downloadgdb-49444feaefc9ec5a64e5c9a0ce54923f50473013.zip
gdb-49444feaefc9ec5a64e5c9a0ce54923f50473013.tar.gz
gdb-49444feaefc9ec5a64e5c9a0ce54923f50473013.tar.bz2
sim: common: simplify hw-config.h deps
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.
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/local.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/sim/common/local.mk b/sim/common/local.mk
index 2c68f66..0ce7901 100644
--- a/sim/common/local.mk
+++ b/sim/common/local.mk
@@ -131,9 +131,7 @@ 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)
+MOSTLYCLEANFILES += $(SIM_ENABLED_ARCHES:%=%/hw-config.h) $(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.