This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Committed: avoid compiling simX-switch.c (by itself) in sim/cris/Makefile.in
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: gdb-patches at sourceware dot org
- Date: Sun, 2 Apr 2006 14:52:10 +0200
- Subject: Committed: avoid compiling simX-switch.c (by itself) in sim/cris/Makefile.in
Noticed while doing other changes: the CGEN-generated semX-switch.c files
are just *included* elsewhere; it's empty when compiled by itself. Looks
like I can't blame copy-paste here. Removing these bits from *this*
Makefile.in may hopefully avoid some future confusion.
* cris/Makefile.in (CRISV10F_OBJS): Remove semcrisv10f-switch.o.
(CRISV32F_OBJS): Remove semcrisv32f-switch.o.
(semcrisv10f-switch.o, semcrisv32f-switch.o: Remove dependency rules.
Index: cris/Makefile.in
===================================================================
RCS file: /cvs/src/src/sim/cris/Makefile.in,v
retrieving revision 1.3
diff -p -u -r1.3 Makefile.in
--- cris/Makefile.in 28 May 2005 08:47:30 -0000 1.3
+++ cris/Makefile.in 2 Apr 2006 12:41:59 -0000
@@ -20,8 +20,8 @@
## COMMON_PRE_CONFIG_FRAG
-CRISV10F_OBJS = crisv10f.o cpuv10.o decodev10.o semcrisv10f-switch.o modelv10.o mloopv10f.o
-CRISV32F_OBJS = crisv32f.o cpuv32.o decodev32.o semcrisv32f-switch.o modelv32.o mloopv32f.o
+CRISV10F_OBJS = crisv10f.o cpuv10.o decodev10.o modelv10.o mloopv10f.o
+CRISV32F_OBJS = crisv32f.o cpuv32.o decodev32.o modelv32.o mloopv32f.o
CONFIG_DEVICES = dv-sockser.o
CONFIG_DEVICES =
@@ -89,7 +89,6 @@ mloopv10f.o: mloopv10f.c semcrisv10f-swi
cpuv10.o: cpuv10.c $(CRISV10F_INCLUDE_DEPS)
decodev10.o: decodev10.c $(CRISV10F_INCLUDE_DEPS)
-semcrisv10f-switch.o: semcrisv10f-switch.c $(CRISV10F_INCLUDE_DEPS)
modelv10.o: modelv10.c $(CRISV10F_INCLUDE_DEPS)
# CRISV32 objs
@@ -116,7 +115,6 @@ mloopv32f.o: mloopv32f.c semcrisv32f-swi
cpuv32.o: cpuv32.c $(CRISV32F_INCLUDE_DEPS)
decodev32.o: decodev32.c $(CRISV32F_INCLUDE_DEPS)
-semcrisv32f-switch.o: semcrisv32f-switch.c $(CRISV32F_INCLUDE_DEPS)
modelv32.o: modelv32.c $(CRISV32F_INCLUDE_DEPS)
cris-clean: