[U-Boot] [PATCH 0/7] tools/genboardscfg.py: various fixes and performance improvement

Simon Glass sjg at chromium.org
Wed Aug 20 21:01:23 CEST 2014


Hi Masahiro,

On 20 August 2014 05:47, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
>
> This series depends on the following prerequisites
>
> http://patchwork.ozlabs.org/patch/380316/
> http://patchwork.ozlabs.org/patch/376222/
>
>
>
> Masahiro Yamada (7):
>   tools/genboardscfg.py: ignore defconfigs starting with a dot
>   tools/genboardscfg.py: be tolerant of missing MAINTAINERS
>   tools/genboardscfg.py: be tolerant of insane Kconfig
>   tools/genboardscfg.py: wait for unfinished subprocesses before
>     error-out
>   tools/genboardscfg.py: fix minor problems on termination
>   tools/genboardscfg.py: check if the boards.cfg is up to date
>   tools/genboardscfg.py: improve performance
>
>  tools/genboardscfg.py | 278 ++++++++++++++++++++++++++++++++++++--------------
>  1 file changed, 204 insertions(+), 74 deletions(-)

Before:

 time ./tools/genboardscfg.py
Generating boards.cfg ...  (jobs: 32)
1177/1177 [=======================================================>]

real 0m27.018s
user 7m15.330s
sys 2m57.488s

After:

time ./tools/genboardscfg.py
boards.cfg is up to date. Nothing to do.

real 0m0.278s
user 0m0.199s
sys 0m0.079s

rm boards.cfg
time ./tools/genboardscfg.py
Generating boards.cfg ...  (jobs: 32)
1177/1177 [=======================================================>]

real 0m8.607s
user 3m9.580s
sys 0m23.997s


Wow, nice work!

Regards,
Simon


More information about the U-Boot mailing list