sim: ppc: drop local psim link

Message ID 20230118043220.24380-1-vapier@gentoo.org
State Committed
Headers
Series sim: ppc: drop local psim link |

Commit Message

Mike Frysinger Jan. 18, 2023, 4:32 a.m. UTC
  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(-)
  

Patch

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