patch-2.4.26 linux-2.4.26/drivers/ide/Makefile

Next file: linux-2.4.26/drivers/ide/ide-probe.c
Previous file: linux-2.4.26/drivers/ide/Config.in
Back to the patch index
Back to the overall index

diff -urN linux-2.4.25/drivers/ide/Makefile linux-2.4.26/drivers/ide/Makefile
@@ -28,9 +28,13 @@
 
 # Core IDE code - must come before legacy
 
-ide-core-objs	:= ide-iops.o ide-taskfile.o ide.o ide-lib.o ide-io.o ide-default.o ide-proc.o ide-probe.o ide-geometry.o
+ide-core-objs	:= ide-iops.o ide-taskfile.o ide.o ide-lib.o ide-io.o \
+		   ide-default.o ide-probe.o ide-geometry.o
 ide-detect-objs	:= ide-probe-mini.o
 
+ifeq ($(CONFIG_PROC_FS),y)
+ide-core-objs	+= ide-proc.o
+endif
 ifeq ($(CONFIG_BLK_DEV_IDEPCI),y)
 ide-core-objs += setup-pci.o
 endif

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