UBI: do not select KALLSYMS_ALL
commit6bef0b67474d71e0d6484cbabcc87657a1176d8d
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 30 Mar 2011 08:27:08 +0000 (30 11:27 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 5 Apr 2011 08:08:59 +0000 (5 11:08 +0300)
tree1d61b5b23842cfdeb1c91fd2825fc5edab627f71
parent6e5133cc757912e7ba2bfbbfb384667707f45ec3
UBI: do not select KALLSYMS_ALL

All UBI needs is to make sure we stacktraces when UBI debugging
is enabled. It is enough to select KALLSYMS for this, KALLSYMS_ALL
is not necessary.

And the current Kconfig line we have:

select KALLSYMS_ALL if KALLSYMS && DEBUG_KERNEL

is just too complex to be sane and right. But this "if" part there
is needed to prevent "unmet direct dependency" warnings, because
KALLSYMS_ALL depends on KALLSYMS and DEBUG_KERNEL, so we cannot
just select KALLSYMS_ALL.

Anyway, this feels messy, and we do not seem to really need KALLSYMS_ALL,
so select KALLSYMS instead.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
drivers/mtd/ubi/Kconfig