patch-2.2.0-pre9 linux/net/irda/Makefile

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

diff -u --recursive --new-file v2.2.0-pre8/linux/net/irda/Makefile linux/net/irda/Makefile
@@ -7,7 +7,7 @@
 #
 # Note 2! The CFLAGS definition is now in the main makefile...
 
-ALL_SUB_DIRS := irlan ircomm compressors
+ALL_SUB_DIRS := irlan ircomm irlpt compressors
 SUB_DIRS :=
 MOD_SUB_DIRS :=
 
@@ -36,6 +36,15 @@
 else
   ifeq ($(CONFIG_IRLAN),m)
   MOD_SUB_DIRS += irlan
+  endif
+endif
+
+ifeq ($(CONFIG_IRLPT),y)
+SUB_DIRS += irlpt
+O_OBJS += irlpt/irlpt.o
+else
+  ifeq ($(CONFIG_IRLPT),m)
+  MOD_IN_SUB_DIRS += irlpt
   endif
 endif
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov