patch-2.1.83 linux/drivers/net/Makefile
Next file: linux/drivers/sound/dmabuf.c
Previous file: linux/drivers/block/ide.c
Back to the patch index
Back to the overall index
- Lines: 50
- Date:
Tue Jan 27 11:36:53 1998
- Orig file:
v2.1.82/linux/drivers/net/Makefile
- Orig date:
Mon Jan 5 01:41:01 1998
diff -u --recursive --new-file v2.1.82/linux/drivers/net/Makefile linux/drivers/net/Makefile
@@ -34,7 +34,7 @@
ifeq ($(CONFIG_ISDN),m)
ifeq ($(CONFIG_ISDN_PPP),y)
CONFIG_SLHC_MODULE = y
- CONFIG_PPPDEF_BUILTIN = y
+ CONFIG_PPPDEF_MODULE = y
endif
endif
endif
@@ -185,8 +185,11 @@
endif
endif
+# bsd_comp.o is *always* a module, for some undocumented reason
+# (perhaps licensing).
ifeq ($(CONFIG_PPP),y)
LX_OBJS += ppp.o
+M_OBJS += bsd_comp.o
CONFIG_SLHC_BUILTIN = y
CONFIG_PPPDEF_BUILTIN = y
else
@@ -194,13 +197,10 @@
CONFIG_SLHC_MODULE = y
CONFIG_PPPDEF_MODULE = y
MX_OBJS += ppp.o
+ M_OBJS += bsd_comp.o
endif
endif
-ifdef CONFIG_PPP
- M_OBJS += bsd_comp.o ppp_deflate.o
-endif
-
ifeq ($(CONFIG_SLIP),y)
L_OBJS += slip.o
ifeq ($(CONFIG_SLIP_COMPRESSED),y)
@@ -563,9 +563,11 @@
endif
# if anything built-in uses ppp_deflate, then build it into the kernel also.
-# If not, but a module uses it, build as a module:
+# If not, but a module uses it, build as a module.
+# ... NO!!! ppp_deflate.o does not work as resident;
+# it works only as a module!
ifdef CONFIG_PPPDEF_BUILTIN
-LX_OBJS += ppp_deflate.o
+MX_OBJS += ppp_deflate.o
else
ifdef CONFIG_PPPDEF_MODULE
MX_OBJS += ppp_deflate.o
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov