patch-2.1.27 linux/drivers/net/Makefile

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

diff -u --recursive --new-file v2.1.26/linux/drivers/net/Makefile linux/drivers/net/Makefile
@@ -7,6 +7,10 @@
 # are difficult for users to deal with.
 include CONFIG
 
+SUB_DIRS     := 
+MOD_SUB_DIRS := $(SUB_DIRS)
+ALL_SUB_DIRS := $(SUB_DIRS)
+
 L_TARGET := net.a
 L_OBJS   := auto_irq.o
 M_OBJS   :=
@@ -649,12 +653,14 @@
 endif
 
 ifeq ($(CONFIG_SOUNDMODEM),y)
-L_OBJS += soundmodem.o
+ALL_SUB_DIRS += soundmodem
+SUB_DIRS += soundmodem
 CONFIG_HDLCDRV_BUILTIN = y
 else
   ifeq ($(CONFIG_SOUNDMODEM),m)
   CONFIG_HDLCDRV_MODULE = y
-  M_OBJS += soundmodem.o
+  ALL_SUB_DIRS += soundmodem
+  MOD_SUB_DIRS += soundmodem
   endif
 endif
 
@@ -667,7 +673,6 @@
   MX_OBJS += hdlcdrv.o
   endif
 endif
-
 
 ifeq ($(CONFIG_VENDOR_SANGOMA),y)
   M_OBJS += sdladrv.o

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]