lkml.org 
[lkml]   [2003]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject2.4.22-rc2, modular ide, missing dependencies in drivers/ide/Config.in?
From
Date
Hello,

I've tried to build a kernel with modular IDE drivers (CONFIG_IDE=m)
and got unresolved symbols during make modules_install. The reason was
CONFIG_BLK_DEV_CMD640=y which has to be set to 'm' when you try to
build IDE drivers as modules.

I think the IDE chipset bugfix/support should depend on
CONFIG_BLK_DEV_IDE to force building them as modules if the IDE driver
is build as a module:

--- linux-2.4.22-rc2-orig/drivers/ide/Config.in Wed Aug 13 11:28:08 2003
+++ linux-2.4.22-rc2/drivers/ide/Config.in Wed Aug 13 22:12:37 2003
@@ -27,7 +27,7 @@

comment 'IDE chipset support/bugfixes'
if [ "$CONFIG_BLK_DEV_IDE" != "n" ]; then
- dep_bool ' CMD640 chipset bugfix/support' CONFIG_BLK_DEV_CMD640 $CONFIG_X86
+ dep_tristate ' CMD640 chipset bugfix/support' CONFIG_BLK_DEV_CMD640 $CONFIG_X86 $CONFIG_BLK_DEV_IDE

The same holds for nearly all other drivers in the ide
subdirectories. Unfortunately I'm not familiar enough with the sources
and dependencies to provide a complete diff.

regards,
Jean
-
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 13:47    [W:0.026 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site