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

index c8518a331b9906aae2ba915d342e5ef99ddb8154..d912877cd40c30a3e97e661a5758a57481b4d239 100644 (file)
@@ -5397,9 +5397,6 @@ testsuite/common/bits64m63.c: testsuite/common/bits-gen$(EXEEXT) testsuite/commo
 @SIM_ENABLE_ARCH_ppc_TRUE@     $(AM_V_at)touch $(srcdir)/ppc/spreg.h
 @SIM_ENABLE_ARCH_pru_TRUE@$(pru_libsim_a_OBJECTS) $(pru_libsim_a_LIBADD): pru/hw-config.h
 
-@SIM_ENABLE_ARCH_pru_TRUE@pru/%.o: pru/%.c
-@SIM_ENABLE_ARCH_pru_TRUE@     $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
-
 @SIM_ENABLE_ARCH_pru_TRUE@pru/%.o: common/%.c
 @SIM_ENABLE_ARCH_pru_TRUE@     $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
 @SIM_ENABLE_ARCH_riscv_TRUE@$(riscv_libsim_a_OBJECTS) $(riscv_libsim_a_LIBADD): riscv/hw-config.h
index 0c3018cbeb2dc89bf1bf087f59d626f7cd96e897..75f842a4689c0dc0fea1c0fc9a941a495a14b872 100644 (file)
@@ -28,9 +28,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)