Re: [PATCH v2 0/3] Detect changed compiler dependencies for full rebuild
From: Masahiro Yamada
Date: Sat May 03 2025 - 05:40:14 EST
On Sat, May 3, 2025 at 7:54 AM Kees Cook <kees@xxxxxxxxxx> wrote:
>
> v2:
> - switch from -include to -I with a -D gated include compiler-version.h
> v1: https://lore.kernel.org/lkml/20250501193839.work.525-kees@xxxxxxxxxx/
What do you think of my patch as a prerequisite?
https://lore.kernel.org/linux-kbuild/20250503084145.1994176-1-masahiroy@xxxxxxxxxx/T/#u
Perhaps, can you implement this series more simply?
My idea is to touch a single include/generated/global-rebuild.h
rather than multiple files such as gcc-plugins-deps.h, integer-wrap.h, etc.
When the file is touched, the entire kernel source tree will be rebuilt.
This may rebuild more than needed (e.g. vdso) but I do not think
it is a big deal.
--
Best Regards
Masahiro Yamada