From patchwork Sun Mar 15 00:57:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Frysinger X-Patchwork-Id: 5617 Received: (qmail 16221 invoked by alias); 15 Mar 2015 00:57:27 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 16208 invoked by uid 89); 15 Mar 2015 00:57:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sun, 15 Mar 2015 00:57:25 +0000 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 1D0883406B1 for ; Sun, 15 Mar 2015 00:57:23 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: [PATCH] sim: delete unused sim-inline.c rule Date: Sat, 14 Mar 2015 20:57:21 -0400 Message-Id: <1426381041-11846-1-git-send-email-vapier@gentoo.org> X-IsSubscribed: yes This dates back to the start of the repo, but has never really been used. The sim-inline.c file has been checked in to the source, and attempts to build it in the build tree leads to a circular dep warning from make. It also doesn't produce a file that is usable -- it can't be compiled. Punt! Committed. --- sim/common/ChangeLog | 5 +++++ sim/common/Make-common.in | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 60d4ba5..cd51d62 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,5 +1,10 @@ 2015-03-14 Mike Frysinger + * Make-common.in (BUILT_SRC_FROM_COMMON): Delete. + (sim-inline.c): Delete rule. + +2015-03-14 Mike Frysinger + * Make-common.in (SIM_RUN_OBJS): Change to nrun.o. * run.c [SIM_USE_DEPRECATED_RUN_FRONTEND]: Issue a warning. [!SIM_USE_DEPRECATED_RUN_FRONTEND]: Throw an error. diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in index 2004abb..734461a 100644 --- a/sim/common/Make-common.in +++ b/sim/common/Make-common.in @@ -447,15 +447,6 @@ $(all_object_files) : $(generated_files) # Dependencies. @GMAKE_TRUE@-include $(patsubst %.o, $(DEPDIR)/%.Po, $(all_object_files)) -BUILT_SRC_FROM_COMMON= \ - sim-inline.c - -sim-inline.c: $(srccom)/sim-inline.c - rm -f $@ tmp-$@ - echo "# 1 \"$(srccom)/$@\"" > tmp-$@ - cat $(srccom)/$@ >> tmp-$@ - $(SHELL) $(srcdir)/../../move-if-change tmp-$@ $@ - # FIXME This is one very simple-minded way of generating the file hw-config.h hw-config.h: Makefile.in $(srccom)/Make-common.in config.status Makefile rm -f tmp-hw.h