[PATCH -next] ubi: fix kconfig unmet dependency
Randy Dunlap
randy.dunlap at oracle.com
Thu Aug 12 15:10:59 EDT 2010
From: Randy Dunlap <randy.dunlap at oracle.com>
warning: (OPTPROBES && KPROBES && HAVE_OPTPROBES && !PREEMPT && DEBUG_KERNEL || MTD_UBI_DEBUG && MTD && SYSFS && MTD_UBI || UBIFS_FS_DEBUG && MISC_FILESYSTEMS && UBIFS_FS || LOCKDEP && DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT || LATENCYTOP && HAVE_LATENCYTOP_SUPPORT && DEBUG_KERNEL && STACKTRACE_SUPPORT && PROC_FS) selects KALLSYMS_ALL which has unmet direct dependencies (DEBUG_KERNEL && KALLSYMS)
Signed-off-by: Randy Dunlap <randy.dunlap at oracle.com>
Cc: Artem Bityutskiy <dedekind1 at gmail.com>
Cc: linux-mtd at lists.infradead.org
---
drivers/mtd/ubi/Kconfig.debug | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
This builds cleanly. Will it execute OK?
or we can make MTD_UBI_DEBUG depend on KALLSYMS_ALL.
--- linux-next-20100810.orig/drivers/mtd/ubi/Kconfig.debug
+++ linux-next-20100810/drivers/mtd/ubi/Kconfig.debug
@@ -6,7 +6,7 @@ config MTD_UBI_DEBUG
depends on SYSFS
depends on MTD_UBI
select DEBUG_FS
- select KALLSYMS_ALL
+ select KALLSYMS_ALL if KALLSYMS && DEBUG_KERNEL
help
This option enables UBI debugging.
More information about the linux-mtd
mailing list