Commit 6bef0b67 authored by Artem Bityutskiy's avatar Artem Bityutskiy

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: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Acked-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
parent 6e5133cc
...@@ -56,7 +56,7 @@ config MTD_UBI_DEBUG ...@@ -56,7 +56,7 @@ config MTD_UBI_DEBUG
bool "UBI debugging" bool "UBI debugging"
depends on SYSFS depends on SYSFS
select DEBUG_FS select DEBUG_FS
select KALLSYMS_ALL if KALLSYMS && DEBUG_KERNEL select KALLSYMS
help help
This option enables UBI debugging. This option enables UBI debugging.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment