2001-04-08 18:35:24

by Phil Blundell

[permalink] [raw]
Subject: 2.2.19: cross-compile patch for drivers/net/Makefile

Cross-compiles need to use the target linker here.

p.

--- linux/drivers/net/Makefile~ Sun Apr 8 17:48:31 2001
+++ linux/drivers/net/Makefile Sun Apr 8 19:31:29 2001
@@ -1445,7 +1445,7 @@
rm -f core *.o *.a *.s

wanpipe.o: $(WANPIPE_OBJS)
- ld -r -o $@ $(WANPIPE_OBJS)
+ $(LD) -r -o $@ $(WANPIPE_OBJS)

rcpci.o: rcpci45.o rclanmtl.o
$(LD) -r -o rcpci.o rcpci45.o rclanmtl.o