patch-2.1.45 linux/drivers/net/Makefile

Next file: linux/drivers/net/README.wanpipe
Previous file: linux/drivers/net/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.44/linux/drivers/net/Makefile linux/drivers/net/Makefile
@@ -391,6 +391,14 @@
   endif
 endif
 
+ifeq ($(CONFIG_TLAN),y)
+L_OBJS += tlan.o
+else
+  ifeq ($(CONFIG_TLAN),m)
+  M_OBJS += tlan.o
+  endif
+endif
+
 ifeq ($(CONFIG_ZNET),y)
 L_OBJS += znet.o
 endif
@@ -793,7 +801,7 @@
 sdladrv.o: sdladrv.c CONFIG
 
 wanpipe.o: $(WANPIPE_OBJS)
-	ld -r -o $@ $^
+	ld -r -o $@ $(WANPIPE_OBJS)
 
 sdlamain.o: sdlamain.c CONFIG
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov