From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by sourceware.org (Postfix) with ESMTP id 4F54F3858D28 for ; Wed, 18 Jan 2023 04:32:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4F54F3858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org Received: by smtp.gentoo.org (Postfix, from userid 559) id EDC17340D65; Wed, 18 Jan 2023 04:32:22 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH] sim: ppc: drop local psim link Date: Tue, 17 Jan 2023 23:32:20 -0500 Message-Id: <20230118043220.24380-1-vapier@gentoo.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00,GIT_PATCH_0,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: 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