public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] sim: ppc: drop local psim link
@ 2023-01-18  4:32 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2023-01-18  4:32 UTC (permalink / raw)
  To: gdb-patches

This has never been installed, and it's not clear anyone cares about
it in the local build dir (when the main program is sim/ppc/run), so
drop all the logic to simplify.
---
 sim/Makefile.in  | 41 +++++++++++------------------------------
 sim/ppc/local.mk |  5 +----
 2 files changed, 12 insertions(+), 34 deletions(-)

diff --git a/sim/ppc/local.mk b/sim/ppc/local.mk
index fca3b4f6b2ec..9f55629dfe16 100644
--- a/sim/ppc/local.mk
+++ b/sim/ppc/local.mk
@@ -21,9 +21,6 @@
 	%D%/libsim.a \
 	$(SIM_COMMON_LIBS)
 
-%D%/psim$(EXEEXT): %D%/run$(EXEEXT)
-	$(AM_V_GEN)ln $< $@ 2>/dev/null || $(LN_S) $< $@ 2>/dev/null || cp -p $< $@
-
 ## This makes sure common parts are available before building the arch-subdirs
 ## which will refer to these.
 SIM_ALL_RECURSIVE_DEPS += common/libcommon.a
@@ -34,7 +31,7 @@ SIM_ALL_RECURSIVE_DEPS += common/libcommon.a
 %D%/%.o: %D%/%.c | %D%/libsim.a $(SIM_ALL_RECURSIVE_DEPS)
 	$(MAKE) $(AM_MAKEFLAGS) -C $(@D) $(@F)
 
-noinst_PROGRAMS += %D%/run %D%/psim
+noinst_PROGRAMS += %D%/run
 
 %D%/spreg.c: @MAINT@ %D%/ppc-spr-table %D%/spreg-gen.py %D%/$(am__dirstamp)
 	$(AM_V_GEN)$(srcdir)/%D%/spreg-gen.py --source $@.tmp
-- 
2.39.0


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

only message in thread, other threads:[~2023-01-18  4:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-18  4:32 [PATCH] sim: ppc: drop local psim link Mike 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).