[U-Boot] [PATCH 04/21] tools: moveconfig: check directory relocation before compilers

Joe Hershberger joe.hershberger at gmail.com
Tue May 24 16:27:51 CEST 2016


On Thu, May 19, 2016 at 1:51 AM, Masahiro Yamada
<yamada.masahiro at socionext.com> wrote:
> We must make sure this tool is run from the top of source directory
> before calling update_cross_compile().  Otherwise, the following
> exception is thrown:
>
> Traceback (most recent call last):
>   File "./moveconfig.py", line 918, in <module>
>     main()
>   File "./moveconfig.py", line 908, in main
>     update_cross_compile()
>   File "./moveconfig.py", line 292, in update_cross_compile
>     for arch in os.listdir('arch'):
> OSError: [Errno 2] No such file or directory: 'arch'
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>

Reviewed-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list