public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* how to handle indirect kconfig dependencies
@ 2006-11-17  4:07 Randy Dunlap
  2006-11-17 13:55 ` Stefan Richter
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Randy Dunlap @ 2006-11-17  4:07 UTC (permalink / raw)
  To: lkml; +Cc: zippel, jejb

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]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-11-26  3:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-17  4:07 how to handle indirect kconfig dependencies Randy Dunlap
2006-11-17 13:55 ` Stefan Richter
2006-11-20 18:13   ` Adrian Bunk
2006-11-20 18:56     ` Stefan Richter
2006-11-20 22:09 ` James Bottomley
2006-11-26  3:46 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox