[U-Boot] [PATCH 02/11] Do not apply: tools: add genkconfig
Simon Glass
sjg at chromium.org
Sun Apr 27 01:03:41 CEST 2014
Hi Masahiro,
On 23 April 2014 23:04, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
> ========================================
> Do not apply this patch to the main line
> ========================================
>
> What is this tool?
> ------------------
>
> This tool converts boards.cfg to defconfig and Kconfig files.
>
> It automatically generates
> - arch/${ARCH}/Kconfig
> - board/Kconfig
> - board/${VENDOR}/${BOARD}/Kconfig
> - board/${BOARD}/Kconfig
> - configs/*_defconfig
>
> How to use?
> -----------
>
> Open tools/print_allconfigs with an editor.
>
> Adjust cross compilers part for your environment.
>
> # Specify your favoriate cross tools
> CROSS_COMPILE_ARC=arc-linux-
> CROSS_COMPILE_AARCH64=aarch64-linux-gnu-
> CROSS_COMPILE_ARM=arm-unknown-linux-gnueabi-
> [snip]
> CROSS_COMPILE_X86=i386-linux-
>
> And then, run "tools/genkconfig".
>
> Why is this patch here?
> -----------------------
>
> The file boards.cfg is touched very frequently.
> All the time, new/old boards are being added/removed.
>
> The next commit was generated based on the u-boot/master at the time
> I posted it.
> It will become out-dated soon.
>
> You can update it with this tool.
Will this tool become useless once this series is applied?
Regards,
Simon
>
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> ---
>
> tools/genkconfig | 253 +++++++++++++++++++++++++++++++++++++++++++++++++
> tools/print_allconfigs | 77 +++++++++++++++
> 2 files changed, 330 insertions(+)
> create mode 100755 tools/genkconfig
> create mode 100755 tools/print_allconfigs
More information about the U-Boot
mailing list