lkml.org 
[lkml]   [2006]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjecthow to handle indirect kconfig dependencies
Hi,

I have a (randconfig) build of 2.6.19-rc5-mm2 with:

CONFIG_DEBUG_READAHEAD=y

which selects DEBUG_FS, so DEBUG_FS=y, but DEBUG_FS depends on
SYSFS, and SYSFS is not set in the randconfig.

This randconfig causes this build error:

fs/built-in.o: In function `debugfs_init':
inode.c:(.init.text+0xdb2): undefined reference to `kernel_subsys'

so the question is:
(How) can kconfig follow the dependency chain and either
- prevent this odd config combination or
- see that 'select DEBUG_FS' implies 'select SYSFS' and then enable SYSFS
?

I don't believe that the right answer is to add
depends on SYSFS
to DEBUG_READAHEAD.


.config is at http://oss.oracle.com/~rdunlap/configs/config-readahead-debugfs

Thanks,
---
~Randy [or just kill off select]
-
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: 2006-11-17 05:11    [W:0.072 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site