From: Mike Frysinger Date: Sun, 1 Jan 2023 18:46:12 +0000 (-0500) Subject: sim: iq2000: move arch-specific file compilation to top-level X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d2c06f6bcd9a85e3a73ddf3dc25b15fd93ddbabe;p=binutils-gdb.git sim: iq2000: move arch-specific file compilation to top-level --- diff --git a/sim/Makefile.in b/sim/Makefile.in index c8cda487a99..4cd4f471f51 100644 --- a/sim/Makefile.in +++ b/sim/Makefile.in @@ -4919,9 +4919,6 @@ testsuite/common/bits64m63.c: testsuite/common/bits-gen$(EXEEXT) testsuite/commo @SIM_ENABLE_ARCH_h8300_TRUE@ $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F) @SIM_ENABLE_ARCH_iq2000_TRUE@$(iq2000_libsim_a_OBJECTS) $(iq2000_libsim_a_LIBADD): iq2000/hw-config.h -@SIM_ENABLE_ARCH_iq2000_TRUE@iq2000/%.o: iq2000/%.c -@SIM_ENABLE_ARCH_iq2000_TRUE@ $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F) - @SIM_ENABLE_ARCH_iq2000_TRUE@iq2000/%.o: common/%.c @SIM_ENABLE_ARCH_iq2000_TRUE@ $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F) @SIM_ENABLE_ARCH_iq2000_TRUE@iq2000/modules.c: | $(iq2000_BUILD_OUTPUTS) diff --git a/sim/iq2000/local.mk b/sim/iq2000/local.mk index 98385a07f58..abc8b31a8ab 100644 --- a/sim/iq2000/local.mk +++ b/sim/iq2000/local.mk @@ -41,9 +41,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)