aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-03-14 20:52:24 -0400
committerMike Frysinger <vapier@gentoo.org>2015-03-14 20:56:04 -0400
commit1303206d7f8de81c685f486c857d533d5bcf827d (patch)
tree7387ab2589385b375e5d88efc4c00f39c9c98630 /sim/common
parentc2cdb853dc4aa9adf98a11c506b8783ce0655f18 (diff)
downloadfsf-binutils-gdb-1303206d7f8de81c685f486c857d533d5bcf827d.zip
fsf-binutils-gdb-1303206d7f8de81c685f486c857d533d5bcf827d.tar.gz
fsf-binutils-gdb-1303206d7f8de81c685f486c857d533d5bcf827d.tar.bz2
sim: delete unused sim-inline.c rule
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!
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog5
-rw-r--r--sim/common/Make-common.in9
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 <vapier@gentoo.org>
+ * Make-common.in (BUILT_SRC_FROM_COMMON): Delete.
+ (sim-inline.c): Delete rule.
+
+2015-03-14 Mike Frysinger <vapier@gentoo.org>
+
* 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