From: Mike Frysinger Date: Sun, 1 Jan 2023 19:23:04 +0000 (-0500) Subject: sim: rl78: move arch-specific file compilation to top-level X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0db0b664a68aa34b3672ef7fd4ffa7a7dd89e76b;p=binutils-gdb.git sim: rl78: move arch-specific file compilation to top-level --- diff --git a/sim/Makefile.in b/sim/Makefile.in index 8fd48426fa5..f19f245553b 100644 --- a/sim/Makefile.in +++ b/sim/Makefile.in @@ -5406,9 +5406,6 @@ testsuite/common/bits64m63.c: testsuite/common/bits-gen$(EXEEXT) testsuite/commo @SIM_ENABLE_ARCH_riscv_TRUE@ $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F) @SIM_ENABLE_ARCH_rl78_TRUE@$(rl78_libsim_a_OBJECTS) $(rl78_libsim_a_LIBADD): rl78/hw-config.h -@SIM_ENABLE_ARCH_rl78_TRUE@rl78/%.o: rl78/%.c -@SIM_ENABLE_ARCH_rl78_TRUE@ $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F) - @SIM_ENABLE_ARCH_rl78_TRUE@rl78/%.o: common/%.c @SIM_ENABLE_ARCH_rl78_TRUE@ $(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F) @SIM_ENABLE_ARCH_rx_TRUE@$(rx_libsim_a_OBJECTS) $(rx_libsim_a_LIBADD): rx/hw-config.h diff --git a/sim/rl78/local.mk b/sim/rl78/local.mk index 935fbf1eea0..13962a9e302 100644 --- a/sim/rl78/local.mk +++ b/sim/rl78/local.mk @@ -30,9 +30,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)