patch-1.3.2 linux/net/Makefile

Next file: linux/net/ipv4/Makefile
Previous file: linux/mm/swap.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.1/linux/net/Makefile linux/net/Makefile
@@ -20,15 +20,11 @@
 
 OBJS	=  socket.o protocols.o
 
-all:		net.o
+all:		network.a
 
-net.o:		$(OBJS) network.a
-		$(LD) -u _eth_setup -r -o net.o $(OBJS) network.a
-
-network.a:	subdirs
+network.a:	subdirs $(OBJS)
 		rm -f $@
-		ar rc $@ $(SUBOBJS)
-		ranlib $@
+		ar rcs $@ $(OBJS) $(SUBOBJS)
 
 subdirs:	dummy
 		set -e; for i in $(SUBDIRS); do $(MAKE) -C $$i; done

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this