patch-1.3.87 linux/net/Makefile
Next file: linux/net/TUNABLE
Previous file: linux/net/Changes
Back to the patch index
Back to the overall index
-  Lines: 26
 -  Date:
Thu Apr 11 09:23:49 1996
 -  Orig file: 
v1.3.86/linux/net/Makefile
 -  Orig date: 
Wed Apr 10 17:02:26 1996
 
diff -u --recursive --new-file v1.3.86/linux/net/Makefile linux/net/Makefile
@@ -9,9 +9,13 @@
 
 MOD_SUB_DIRS := ipv4
 ALL_SUB_DIRS := 802 ax25 bridge core ethernet ipv4 ipx unix appletalk netrom 
-SUB_DIRS     := 802 core ethernet unix
+SUB_DIRS     := core ethernet unix
 MOD_LIST_NAME := NET_MISC_MODULES
 
+ifeq ($(CONFIG_NET),y)
+SUB_DIRS += 802
+endif
+
 ifeq ($(CONFIG_INET),y)
 SUB_DIRS += ipv4
 endif
@@ -46,8 +50,10 @@
 
 L_TARGET     := network.a
 L_OBJS	     := socket.o protocols.o sysctl_net.o $(join $(SUB_DIRS),$(SUB_DIRS:%=/%.o))
+ifeq ($(CONFIG_NET),y)
 ifeq ($(CONFIG_MODULES),y)
 LX_OBJS = netsyms.o
+endif
 endif
 
 M_OBJS	     :=
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