This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RFA: v850 sim build failure fix


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 \

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]