[PATCH] powerpc/akebono: Fix unmet dependency errors
Randy Dunlap
rdunlap at infradead.org
Mon Feb 1 15:11:02 AEDT 2021
On 1/31/21 5:25 PM, Michael Ellerman wrote:
> The AKEBONO config has various selects under it, including some with
> user-selectable dependencies, which means those dependencies can be
> disabled. This leads to warnings from Kconfig.
>
>
> The problem is that AKEBONO is using select to enable things that are
> not true dependencies, but rather things you probably want enabled in
> an AKEBONO kernel. That is what a defconfig is for.
>
> So drop those selects and instead move those symbols into the
> defconfig. This fixes all the kconfig warnings, and the result of make
> 44x/akebono_defconfig is the same before and after the patch.
>
> Reported-by: Yury Norov <yury.norov at gmail.com>
> Reported-by: Randy Dunlap <rdunlap at infradead.org>
> Reported-by: Florian Fainelli <f.fainelli at gmail.com>
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>
> ---
> arch/powerpc/configs/44x/akebono_defconfig | 5 +++++
> arch/powerpc/platforms/44x/Kconfig | 7 -------
> 2 files changed, 5 insertions(+), 7 deletions(-)
Reviewed-by: Randy Dunlap <rdunlap at infradead.org>
Tested-by: Randy Dunlap <rdunlap at infradead.org>
Thanks.
--
~Randy
More information about the Linuxppc-dev
mailing list