aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-01-01 14:11:43 -0500
committerMike Frysinger <vapier@gentoo.org>2023-01-10 01:15:28 -0500
commit2d3b0c959d870f5b4c7c8fb39bf19039509ee627 (patch)
tree7adbfe2020092142470df64235f93da48917518c
parentd2c06f6bcd9a85e3a73ddf3dc25b15fd93ddbabe (diff)
downloadgdb-2d3b0c959d870f5b4c7c8fb39bf19039509ee627.zip
gdb-2d3b0c959d870f5b4c7c8fb39bf19039509ee627.tar.gz
gdb-2d3b0c959d870f5b4c7c8fb39bf19039509ee627.tar.bz2
sim: lm32: move arch-specific file compilation to top-level
-rw-r--r--sim/Makefile.in3
-rw-r--r--sim/lm32/local.mk3
2 files changed, 0 insertions, 6 deletions
diff --git a/sim/Makefile.in b/sim/Makefile.in
index 4cd4f47..51e5423 100644
--- a/sim/Makefile.in
+++ b/sim/Makefile.in
@@ -4944,9 +4944,6 @@ testsuite/common/bits64m63.c: testsuite/common/bits-gen$(EXEEXT) testsuite/commo
@SIM_ENABLE_ARCH_iq2000_TRUE@iq2000/cpu.h iq2000/sem.c iq2000/sem-switch.c iq2000/model.c iq2000/decode.c iq2000/decode.h: @CGEN_MAINT@ iq2000/cgen-cpu-decode
@SIM_ENABLE_ARCH_lm32_TRUE@$(lm32_libsim_a_OBJECTS) $(lm32_libsim_a_LIBADD): lm32/hw-config.h
-@SIM_ENABLE_ARCH_lm32_TRUE@lm32/%.o: lm32/%.c
-@SIM_ENABLE_ARCH_lm32_TRUE@ $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
-
@SIM_ENABLE_ARCH_lm32_TRUE@lm32/%.o: common/%.c
@SIM_ENABLE_ARCH_lm32_TRUE@ $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
@SIM_ENABLE_ARCH_lm32_TRUE@lm32/modules.c: | $(lm32_BUILD_OUTPUTS)
diff --git a/sim/lm32/local.mk b/sim/lm32/local.mk
index 987f2ac..d61566e 100644
--- a/sim/lm32/local.mk
+++ b/sim/lm32/local.mk
@@ -44,9 +44,6 @@ $(%C%_libsim_a_OBJECTS) $(%C%_libsim_a_LIBADD): %D%/hw-config.h
noinst_LIBRARIES += %D%/libsim.a
-%D%/%.o: %D%/%.c
- $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
-
%D%/%.o: common/%.c
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)