lkml.org 
[lkml]   [2004]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] 2.6.1-mm5: compile error with IDE legacy driver
On Tue, Jan 20, 2004 at 12:05:35AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.1-mm4:
>...
> -modular-ide-is-broken.patch
> +fix-improve-modular-ide.patch
>
> Make IDE work as a module again.
>...

I got the following compile error:

<-- snip -->

...
CC drivers/ide/ide-pnp.o
make[2]: *** No rule to make target `drivers/ide/pdc4030.s', needed by
`drivers/ide/pdc4030.o'. Stop.
make[1]: *** [drivers/ide] Error 2

<-- snip -->

The patch below fixes this problem.

cu
Adrian


--- linux-2.6.1-mm5/drivers/ide/Makefile.old 2004-01-20 13:39:23.000000000 +0100
+++ linux-2.6.1-mm5/drivers/ide/Makefile 2004-01-20 13:40:04.000000000 +0100
@@ -23,18 +23,18 @@
ide-core-$(CONFIG_BLK_DEV_IDEPNP) += ide-pnp.o

# built-in only drivers from legacy/
-ide-core-$(CONFIG_BLK_DEV_IDE_PC9800) += pc9800.o
-ide-core-$(CONFIG_BLK_DEV_PDC4030) += pdc4030.o
-ide-core-$(CONFIG_BLK_DEV_BUDDHA) += buddha.o
-ide-core-$(CONFIG_BLK_DEV_FALCON_IDE) += falconide.o
-ide-core-$(CONFIG_BLK_DEV_GAYLE) += gayle.o
-ide-core-$(CONFIG_BLK_DEV_MAC_IDE) += macide.o
-ide-core-$(CONFIG_BLK_DEV_Q40IDE) += q40ide.o
+ide-core-$(CONFIG_BLK_DEV_IDE_PC9800) += legacy/pc9800.o
+ide-core-$(CONFIG_BLK_DEV_PDC4030) += legacy/pdc4030.o
+ide-core-$(CONFIG_BLK_DEV_BUDDHA) += legacy/buddha.o
+ide-core-$(CONFIG_BLK_DEV_FALCON_IDE) += legacy/falconide.o
+ide-core-$(CONFIG_BLK_DEV_GAYLE) += legacy/gayle.o
+ide-core-$(CONFIG_BLK_DEV_MAC_IDE) += legacy/macide.o
+ide-core-$(CONFIG_BLK_DEV_Q40IDE) += legacy/q40ide.o

# built-in only drivers from ppc/
-ide-core-$(CONFIG_BLK_DEV_MPC8xx_IDE) += mpc8xx.o
-ide-core-$(CONFIG_BLK_DEV_IDE_PMAC) += pmac.o
-ide-core-$(CONFIG_BLK_DEV_IDE_SWARM) += swarm.o
+ide-core-$(CONFIG_BLK_DEV_MPC8xx_IDE) += ppc/mpc8xx.o
+ide-core-$(CONFIG_BLK_DEV_IDE_PMAC) += ppc/pmac.o
+ide-core-$(CONFIG_BLK_DEV_IDE_SWARM) += ppc/swarm.o

obj-$(CONFIG_BLK_DEV_IDE) += ide-core.o
obj-$(CONFIG_IDE_GENERIC) += ide-generic.o

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.452 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site