This is the mail archive of the 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]
Other format: [Raw text]

sim/arm/ fix for non-GNU make

I'm not sure where to send sim patches, but since it's distributed with

sim/arm/ currently uses $< in a non-implicit rule.  This
doesn't work with non-GNU makes (at least NetBSD's one) since $< isn't set
for non-implicit rules.  This patch fixes the problem:

RCS file: /cvsroot/gnusrc/gnu/dist/toolchain/sim/arm/,v
retrieving revision
diff -u -r1.1.1.1
---	2000/07/26 00:34:28
+++	2001/11/15 14:57:19
@@ -31,10 +31,10 @@
 armcopro.o: armcopro.c armdefs.h

 armemu26.o: armemu.c armdefs.h armemu.h
-	$(CC) -c $< -o armemu26.o $(ALL_CFLAGS)
+	$(CC) -c $(srcdir)/armemu.c -o armemu26.o $(ALL_CFLAGS)

 armemu32.o: armemu.c armdefs.h armemu.h
-	$(CC) -c $< -o armemu32.o -DMODE32 $(ALL_CFLAGS)
+	$(CC) -c $(srcdir)/armemu.c -o armemu32.o -DMODE32 $(ALL_CFLAGS)

 arminit.o: arminit.c armdefs.h armemu.h

Ben Harris                                                   <>
Portmaster, NetBSD/arm26               <URL:>

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