From: Mike Frysinger Date: Sun, 1 Jan 2023 19:11:43 +0000 (-0500) Subject: sim: lm32: move arch-specific file compilation to top-level X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d3b0c959d870f5b4c7c8fb39bf19039509ee627;p=binutils-gdb.git sim: lm32: move arch-specific file compilation to top-level --- diff --git a/sim/Makefile.in b/sim/Makefile.in index 4cd4f471f51..51e54234dbd 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 987f2ac25b8..d61566ecb4e 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)