Messages in this thread | | | From | Nick Desaulniers <> | Date | Thu, 20 Jun 2019 12:53:22 -0700 | Subject | Re: [PATCH] gen_compile_command: Add support for separate KBUILD_OUTPUT directory |
| |
On Thu, Jun 20, 2019 at 11:45 AM Matthias Kaehlcke <mka@chromium.org> wrote: > > gen_compile_command.py currently assumes that the .cmd files and the > source code live in the same directory, which is not the case when > a separate KBUILD_OUTPUT directory is used.
Great point; android builds the kernel outside of the source dir (`make O=/non-source/path ...`). Thanks for the patch! BTW if CrOS is doing cool stuff with compile_commands.json; I'd like to know! Particularly; I'm curious if it's possible to generate Ninja build files from compile_commands.json; I do miss Doug's Kbuild caching patches' speedup. Acked-by: Nick Desaulniers <ndesaulniers@google.com>
-- Thanks, ~Nick Desaulniers
| |