public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] sim: sh: move arch-specific file compilation to top-level
@ 2023-01-10  6:28 Michael Frysinger
  0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2023-01-10  6:28 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d667f7b30ab06a1e0766cf0309c3a46d0f5e5e13

commit d667f7b30ab06a1e0766cf0309c3a46d0f5e5e13
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sun Jan 1 14:24:38 2023 -0500

    sim: sh: move arch-specific file compilation to top-level

Diff:
---
 sim/Makefile.in | 3 ---
 sim/sh/local.mk | 3 ---
 2 files changed, 6 deletions(-)

diff --git a/sim/Makefile.in b/sim/Makefile.in
index 6cae85c8038..77198ecd5ba 100644
--- a/sim/Makefile.in
+++ b/sim/Makefile.in
@@ -5415,9 +5415,6 @@ testsuite/common/bits64m63.c: testsuite/common/bits-gen$(EXEEXT) testsuite/commo
 @SIM_ENABLE_ARCH_rx_TRUE@	$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
 @SIM_ENABLE_ARCH_sh_TRUE@$(sh_libsim_a_OBJECTS) $(sh_libsim_a_LIBADD): sh/hw-config.h
 
-@SIM_ENABLE_ARCH_sh_TRUE@sh/%.o: sh/%.c
-@SIM_ENABLE_ARCH_sh_TRUE@	$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
-
 @SIM_ENABLE_ARCH_sh_TRUE@sh/%.o: common/%.c
 @SIM_ENABLE_ARCH_sh_TRUE@	$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
 @SIM_ENABLE_ARCH_sh_TRUE@sh/modules.c: | $(sh_BUILD_OUTPUTS)
diff --git a/sim/sh/local.mk b/sim/sh/local.mk
index b7c9e615725..8bfbc0fa283 100644
--- a/sim/sh/local.mk
+++ b/sim/sh/local.mk
@@ -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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-01-10  6:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-10  6:28 [binutils-gdb] sim: sh: move arch-specific file compilation to top-level Michael Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).