patch-2.1.9 linux/drivers/Makefile

Next file: linux/drivers/block/Makefile
Previous file: linux/arch/sparc/prom/tree.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.8/linux/drivers/Makefile linux/drivers/Makefile
@@ -38,7 +38,7 @@
   endif
 endif
 
-ifdef CONFIG_CD_NO_IDESCSI
+ifneq ($(CONFIG_CD_NO_IDESCSI)$(CONFIG_BLK_DEV_IDECD)$(CONFIG_BLK_DEV_SR),)
 SUB_DIRS += cdrom
 MOD_SUB_DIRS += cdrom
 endif

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