patch-2.2.15 linux/drivers/Makefile

Next file: linux/drivers/block/Config.in
Previous file: linux/arch/sparc64/mm/ultra.S
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/drivers/Makefile linux/drivers/Makefile
@@ -10,7 +10,7 @@
 SUB_DIRS     := block char net misc sound
 MOD_SUB_DIRS := $(SUB_DIRS)
 ALL_SUB_DIRS := $(SUB_DIRS) pci sgi scsi sbus cdrom isdn pnp \
-				macintosh video dio zorro fc4 usb telephony
+				macintosh video dio zorro fc4 usb telephony i2o
 
 ifdef CONFIG_DIO
 SUB_DIRS += dio
@@ -118,6 +118,16 @@
   MOD_SUB_DIRS += telephony
   endif
 endif
+
+ifeq ($(CONFIG_I2O),y)
+SUB_DIRS += i2o
+MOD_SUB_DIRS += i2o
+else
+  ifeq ($(CONFIG_I2O),m)
+  MOD_SUB_DIRS += i2o
+  endif
+endif
+
 
 
 # When MOD_LIST_NAME is set, make will try to add $(MOD_SUB_DIRS).o to

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)