Re: [PATCH 1/1] kbuild: record real-prereqs in .cmd files

Nathan Chancellor <[email protected]>
Newsgroups gmane.linux.kbuild.devel,gmane.linux.kernel
Message-ID <20260825032242.GA1218443@ax162>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.