Re: [PATCH v3] kconfig.h: Include compiler types to avoid missed struct attributes

From: Rasmus Villemoes
Date: Thu Feb 22 2018 - 16:36:40 EST


On 2018-02-22 22:07, Rasmus Villemoes wrote:

>
> The whole point of fixdep and the include/config hierarchy is to be able
> to remove the dependency on autoconf.h, but I'm not sure I understand
> why kconfig.h itself is also forcibly removed.

<goes digging> Ah, 6a5be57f "fixdep: fix extraneous dependencies", to
work around kconfig.h (naturally) containing the CONFIG_ pattern a few
times. Hm, we should probably make sure that kconfig.h is always on the
dependency list in .o.cmd, but just exclude it from being processed for
the CONFIG_ pattern.

Rasmus