sim: iq2000: move arch-specific file compilation to top-level
authorMike Frysinger <vapier@gentoo.org>
Sun, 1 Jan 2023 18:46:12 +0000 (13:46 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 10 Jan 2023 06:15:28 +0000 (01:15 -0500)
sim/Makefile.in
sim/iq2000/local.mk

index c8cda487a99c5a10fee241babd1b1c565bbc9dfd..4cd4f471f51b0a0d1861fca2fee5f272cb9635d5 100644 (file)
@@ -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)
index 98385a07f580acd7ced0300998bc8bfd4cee6b69..abc8b31a8ab553c72f32e2978519905ed894473d 100644 (file)
@@ -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)