public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Subject: [PATCH] sim: ppc: drop local psim link
Date: Tue, 17 Jan 2023 23:32:20 -0500	[thread overview]
Message-ID: <20230118043220.24380-1-vapier@gentoo.org> (raw)

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


                 reply	other threads:[~2023-01-18  4:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230118043220.24380-1-vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).