[U-Boot] [PATCH] kconfig: Print reverse dependencies in groups

Tom Rini trini at konsulko.com
Wed May 9 01:31:42 UTC 2018


On Wed, May 09, 2018 at 10:27:00AM +0900, Masahiro Yamada wrote:
> Hi.
> 
> 2018-05-09 2:59 GMT+09:00 Eugeniu Rosca <erosca at de.adit-jv.com>:
> > Not sure if partial/limited sync with Linux Kconfig is practiced, but
> > if yes, then pick below three Linux commits, which are focused around
> > improving the readability of reverse dependencies in menuconfig UI.
> >
> > [1] commit 1ccb27143360bd2390a9a970e50709f858b53761
> >     Author: Petr Vorel <petr.vorel at gmail.com>
> >     kconfig: make "Selected by:" and "Implied by:" readable
> >
> > [2] commit 9a47ceec543bfb703fbe2f8d584850b582caf1a6
> >     Masahiro Yamada <yamada.masahiro at socionext.com>
> >     kconfig: clean-up reverse dependency help implementation
> >
> > [3] commit d9119b5925a03b9a3191fa3e93b4091651d8ad25
> >     Author: Eugeniu Rosca <erosca at de.adit-jv.com>
> >     kconfig: Print reverse dependencies in groups
> >
> > Here is an example of re-formatted information about the reverse
> > dependencies of CONFIG_DM (sandbox_defconfig):
> >
> > * W/o the imported commits:
> >
> > Selected by: NIOS2 [=n] && <choice> || SANDBOX [=y] && <choice> || X86
> > [=n] && <choice> || ARCH_MVEBU [=n] && <choice> || TARGET_STV0991 [=n]
> > && <choice> || ARCH_BCM283X [=n] && <choice> || ARCH_EXYNOS [=n] &&
> > <choice> || ARCH_S5PC1XX [=n] && ...
> >
> > * With the imported commits:
> >
> >   Selected by [y]:
> >   - SANDBOX [=y] && <choice>
> >   - LOG [=y]
> >   Selected by [n]:
> >   - NIOS2 [=n] && <choice>
> >   - X86 [=n] && <choice>
> >   - ARCH_MVEBU [=n] && <choice>
> >   - TARGET_STV0991 [=n] && <choice>
> >   - ARCH_BCM283X [=n] && <choice>
> >   - ARCH_EXYNOS [=n] && <choice>
> >   - ARCH_S5PC1XX [=n] && <choice>
> >   - ARCH_INTEGRATOR [=n] && <choice>
> >   - ARCH_MX8M [=n] && <choice>
> >   - ARCH_QEMU [=n] && <choice>
> >   - ARCH_RMOBILE [=n] && <choice>
> >   - ARCH_SNAPDRAGON [=n] && <choice>
> >   - ARCH_SOCFPGA [=n] && <choice>
> >   - ARCH_SUNXI [=n] && <choice>
> >   - ARCH_ZYNQ [=n] && <choice>
> >   - ARCH_ZYNQMP [=n] && <choice>
> >   - TARGET_HIKEY [=n] && <choice>
> >   ...
> >
> > Signed-off-by: Eugeniu Rosca <erosca at de.adit-jv.com>
> 
> 
> I prefer syncing to check-picking.
> 
> 
> The previous sync was Linux 4.10
> 
> 
> 
> commit bf7ab1e70fd7621fea5dea07b6975c576119b86e
> Author: Masahiro Yamada <yamada.masahiro at socionext.com>
> Date:   Sat Feb 11 12:39:54 2017 +0900
> 
>     kconfig: re-sync with Linux 4.10
> 
>     Re-sync all files under the scripts/kconfig directory with
>     Linux 4.10.
> 
>     Some parts include U-Boot own modification.  I made sure to not
>     revert the following commits:
> 
>      5b8031ccb4ed ("Add more SPDX-License-Identifier tags")
>      192bc6948b02 ("Fix GCC format-security errors and convert sprintfs.")
>      da58dec86616 ("Various Makefiles: Add SPDX-License-Identifier tags")
>      20c20826efab ("Kconfig: Enable usage of escape char '\' in string values")
> 
>     Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> 
> 
> I still we still need to carry 20c20826efab for U-Boot.
> 
> 
> Would you do that please?
> Or, do you want me to do it?

I'd greatly appreciate it if you can do a sync up to v4.17-rc4 or so.
Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180508/7b34709b/attachment.sig>


More information about the U-Boot mailing list