patch-2.3.34 linux/drivers/Makefile

Next file: linux/drivers/block/Config.in
Previous file: linux/arch/sparc64/prom/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.33/linux/drivers/Makefile linux/drivers/Makefile
@@ -11,7 +11,7 @@
 MOD_SUB_DIRS := $(SUB_DIRS)
 ALL_SUB_DIRS := $(SUB_DIRS) pci sgi scsi sbus cdrom isdn pnp i2o \
 				macintosh video dio zorro fc4 usb \
-				nubus tc ap1000 atm pcmcia
+				nubus tc ap1000 atm pcmcia i2c
 
 ifdef CONFIG_DIO
 SUB_DIRS += dio
@@ -139,6 +139,15 @@
 ifeq ($(CONFIG_HAMRADIO),y)
   SUB_DIRS += net/hamradio
   MOD_SUB_DIRS += net/hamradio
+endif
+
+ifeq ($(CONFIG_I2C),y)
+SUB_DIRS += i2c
+MOD_SUB_DIRS += i2c
+else
+  ifeq ($(CONFIG_I2C),m)
+  MOD_SUB_DIRS += i2c
+  endif
 endif
 
 include $(TOPDIR)/Rules.make

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