patch-1.3.81 linux/drivers/net/Makefile

Next file: linux/drivers/net/ibmtr.c
Previous file: linux/drivers/char/wdt.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.80/linux/drivers/net/Makefile linux/drivers/net/Makefile
@@ -166,10 +166,14 @@
 
 ifeq ($(CONFIG_SLIP),y)
 L_OBJS += slip.o
-CONFIG_SLHC_BUILTIN = y
+  ifeq ($(CONFIG_SLIP_COMPRESSED),y)
+  CONFIG_SLHC_BUILTIN = y
+  endif
 else
   ifeq ($(CONFIG_SLIP),m)
-  CONFIG_SLHC_MODULE = y
+    ifeq ($(CONFIG_SLIP_COMPRESSED),y)
+    CONFIG_SLHC_MODULE = y
+  endif
   M_OBJS += slip.o
   endif
 endif

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