Re: [PATCH 1/1] kbuild: record real-prereqs in .cmd files
From: Nathan Chancellor
Date: Mon Aug 24 2026 - 23:23:00 EST
On Fri, Aug 21, 2026 at 09:57:03PM +0200, Luis Augenstein wrote:
> True, some Make prerequisites also appear in deps_*, so the filter
> dropped them from make_prereqs_* on incremental builds.
>
> However, we cannot just remove the filter. After the .cmd is included,
> $(real-prereqs) contains $(deps_$@), so the whole deps_* list would
> show up in make_prereqs_* on a rebuild.
Ah, makes sense.
> We could move the filter into fixdep and filter based on the new .d file, so
> the overlap is removed already on a clean build.
If this is not that complicated, I would not mind seeing what it looked
like.
--
Cheers,
Nathan