patch-2.1.121 linux/drivers/net/Makefile
Next file: linux/drivers/net/hostess_sv11.c
Previous file: linux/drivers/net/Config.in
Back to the patch index
Back to the overall index
- Lines: 63
- Date:
Sun Sep 6 10:47:01 1998
- Orig file:
v2.1.120/linux/drivers/net/Makefile
- Orig date:
Mon Aug 3 12:45:45 1998
diff -u --recursive --new-file v2.1.120/linux/drivers/net/Makefile linux/drivers/net/Makefile
@@ -24,6 +24,10 @@
CONFIG_7990_MODULE :=
CONFIG_82596_BUILTIN :=
CONFIG_82596_MODULE :=
+CONFIG_85230_BUILTIN :=
+CONFIG_85230_MODULE :=
+CONFIG_SYNCPPP_BUILTIN :=
+CONFIG_SYNCPPP_MODULE :=
ifeq ($(CONFIG_ISDN),y)
ifeq ($(CONFIG_ISDN_PPP),y)
@@ -283,8 +287,8 @@
endif
endif
-# bsd_comp.o is *always* a module, for some undocumented reason
-# (perhaps licensing).
+# bsd_comp.o is *always* a module, for some documented reason
+# (licensing).
ifeq ($(CONFIG_PPP),y)
LX_OBJS += ppp.o
M_OBJS += bsd_comp.o
@@ -689,6 +693,40 @@
else
ifeq ($(CONFIG_EPIC100),m)
M_OBJS += epic100.o
+ endif
+endif
+
+ifeq ($(CONFIG_HOSTESS_SV11),y)
+L_OBJS += hostess_sv11.o
+CONFIG_85230_BUILTIN = y
+CONFIG_SYNCPPP_BUILTIN = y
+else
+ ifeq ($(CONFIG_HOSTESS_SV11),m)
+ CONFIG_85230_MODULE = y
+ CONFIG_SYNCPPP_MODULE = y
+ M_OBJS += hostess_sv11.o
+ endif
+endif
+
+# If anything built-in uses syncppp, then build it into the kernel also.
+# If not, but a module uses it, build as a module.
+
+ifdef CONFIG_SYNCPPP_BUILTIN
+LX_OBJS += syncppp.o
+else
+ ifdef CONFIG_SYNCPPP_MODULE
+ MX_OBJS += syncppp.o
+ endif
+endif
+
+# If anything built-in uses Z85230, then build it into the kernel also.
+# If not, but a module uses it, build as a module.
+
+ifdef CONFIG_85230_BUILTIN
+LX_OBJS += z85230.o
+else
+ ifdef CONFIG_85230_MODULE
+ MX_OBJS += z85230.o
endif
endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov