Re: [PATCH v2 3/9] gen_compile_commands: do not support .cmd files under tools/ directory

2020-08-21 Thread Nick Desaulniers
On Fri, Aug 21, 2020 at 12:02 PM Masahiro Yamada wrote: > > The tools/ directory uses a different build system, and the format of > .cmd files is different because the tools builds run in a different > work directory. > > Supporting two formats compilicates the script. > > The only loss by this ch

[PATCH v2 3/9] gen_compile_commands: do not support .cmd files under tools/ directory

2020-08-21 Thread Masahiro Yamada
The tools/ directory uses a different build system, and the format of .cmd files is different because the tools builds run in a different work directory. Supporting two formats compilicates the script. The only loss by this change is objtool. Also, rename the confusing variable 'relative_path' b