patch-2.4.0-test3 linux/drivers/Makefile

Next file: linux/drivers/acorn/block/fd1772.c
Previous file: linux/arch/sparc64/vmlinux.lds
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test2/linux/drivers/Makefile linux/drivers/Makefile
@@ -11,7 +11,8 @@
 MOD_SUB_DIRS := $(SUB_DIRS)
 ALL_SUB_DIRS := $(SUB_DIRS) pci sgi ide scsi sbus cdrom isdn pnp i2o \
 				ieee1394 macintosh video dio zorro fc4 \
-				usb nubus tc atm pcmcia i2c telephony
+				usb nubus tc atm pcmcia i2c telephony \
+				acpi mtd
 
 ifdef CONFIG_DIO
 SUB_DIRS += dio
@@ -30,6 +31,11 @@
   endif
 endif
 
+ifdef CONFIG_MTD
+SUB_DIRS += mtd
+MOD_SUB_DIRS += mtd
+endif
+
 ifdef CONFIG_SBUS
 SUB_DIRS += sbus
 MOD_SUB_DIRS += sbus
@@ -80,7 +86,7 @@
   endif
 endif 
 
-ifdef CONFIG_SGI_IP22
+ifdef CONFIG_SGI
 SUB_DIRS += sgi
 MOD_SUB_DIRS += sgi
 endif
@@ -178,6 +184,11 @@
   ifeq ($(CONFIG_I2C),m)
   MOD_SUB_DIRS += i2c
   endif
+endif
+
+ifeq ($(CONFIG_ACPI),y)
+SUB_DIRS += acpi
+MOD_SUB_DIRS += acpi
 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)