patch-2.3.99-pre6 linux/drivers/net/wan/Makefile
Next file: linux/drivers/net/wan/comx.c
Previous file: linux/drivers/net/wan/Config.in
Back to the patch index
Back to the overall index
- Lines: 29
- Date:
Fri Apr 21 16:08:45 2000
- Orig file:
v2.3.99-pre5/linux/drivers/net/wan/Makefile
- Orig date:
Sun Mar 19 18:35:30 2000
diff -u --recursive --new-file v2.3.99-pre5/linux/drivers/net/wan/Makefile linux/drivers/net/wan/Makefile
@@ -12,7 +12,7 @@
SUB_DIRS :=
MOD_SUB_DIRS := $(SUB_DIRS)
-ALL_SUB_DIRS := $(SUB_DIRS)
+ALL_SUB_DIRS := $(SUB_DIRS) lmc
L_TARGET := wan.a
L_OBJS :=
@@ -118,6 +118,19 @@
M_OBJS += cosa.o
endif
endif
+
+ifeq ($(CONFIG_LANMEDIA),y)
+ SUB_DIRS += lmc
+ MOD_IN_SUB_DIRS += lmc
+ L_OBJS += lmc/lmc.o
+ CONFIG_SYNCPPP_BUILTIN = y
+else
+ ifeq ($(CONFIG_LANMEDIA),m)
+ CONFIG_SYNCPPP_MODULE = y
+ MOD_IN_SUB_DIRS += lmc
+ 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.
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)