patch-1.3.69 linux/drivers/net/Makefile

Next file: linux/drivers/net/Space.c
Previous file: linux/drivers/net/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.68/linux/drivers/net/Makefile linux/drivers/net/Makefile
@@ -19,6 +19,18 @@
 CONFIG_SLHC_BUILTIN :=
 CONFIG_SLHC_MODULE  :=
 
+ifeq ($(CONFIG_ISDN),y)
+  ifeq ($(CONFIG_ISDN_PPP),y)
+    CONFIG_SLHC_BUILTIN = y
+  endif
+else
+  ifeq ($(CONFIG_ISDN),m)
+    ifeq ($(CONFIG_ISDN_PPP),y)
+      CONFIG_SLHC_MODULE = y
+    endif
+  endif
+endif
+
 ifeq ($(CONFIG_SEEQ8005),y)
 L_OBJS += seeq8005.o
 endif
@@ -292,6 +304,10 @@
 
 ifeq ($(CONFIG_NI52),y)
 L_OBJS += ni52.o
+else
+  ifeq ($(CONFIG_NI52),m)
+  M_OBJS += ni52.o
+  endif
 endif
 
 ifeq ($(CONFIG_NI65),y)

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