Messages in this thread | | | Date | Tue, 13 Mar 2018 07:16:03 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH v3 2/2] kbuild: Don't mess with the .cache.mk when root |
| |
* Douglas Anderson <dianders@chromium.org> wrote:
> +# Don't create Makefile caches if running as root since they can't be deleted > +# easily; in the real world we might be root when doing "sudo make install" > +ifeq ($(shell id -u),0) > +export KBUILD_NOCACHE := 1 > +endif
Please don't do this - many prominent kernel developers build their kernels as root - this makes the build slower for them, and also bifurcates testing.
Thanks,
Ingo
| |