This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
RFA: v850 sim build failure fix
- To: gdb-patches at sources dot redhat dot com
- Subject: RFA: v850 sim build failure fix
- From: Jonathan Larmour <jlarmour at cambridge dot redhat dot com>
- Date: Wed, 31 Jan 2001 21:36:01 GMT
This corrects a build failure for the v850 target. Check it in?
Jifl
2001-01-31 Jonathan Larmour <jlarmour@redhat.com>
* Makefile.in (gencode): Link with libopcodes in build tree rather
than building source files from there.
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/sim/v850/Makefile.in,v
retrieving revision 1.1.1.1
diff -u -5 -p -r1.1.1.1 Makefile.in
--- Makefile.in 1999/04/16 01:35:12 1.1.1.1
+++ Makefile.in 2001/01/31 21:34:19
@@ -54,14 +54,12 @@ tmp-gencode: gencode
./gencode -h >tmp-simops.h
mv tmp-simops.h simops.h
touch tmp-gencode
gencode.o: gencode.c
$(CC_FOR_BUILD) $(BUILD_CFLAGS) -c $(srcdir)/gencode.c
-v850-opc.o: $(srcdir)/../../opcodes/v850-opc.c
- $(CC_FOR_BUILD) $(BUILD_CFLAGS) -c $<
-gencode: gencode.o v850-opc.o
- $(CC_FOR_BUILD) $(BUILD_CFLAGS) -o gencode gencode.o v850-opc.o
+gencode: gencode.o ../../opcodes/libopcodes.a
+ $(CC_FOR_BUILD) $(BUILD_CFLAGS) -o gencode gencode.o ../../opcodes/libopcodes.a
BUILT_SRC_FROM_IGEN = \
icache.h \