On Tuesday 03 May 2011, Jan Kiszka wrote:
> This helps reducing our build-time checks for feature support in the
> available Linux kernel headers. And it helps users that do not have
> sufficiently recent headers installed on their build machine.
> 
> Header upstate is triggered via 'make update-linux-headers', optionally
> specifying a kernel directory as source via 'LINUX='.
> 
> ---
> 
> I'm sure this is not yet perfect from technical POV (e.g. the patch to
> Makefile.target looks like a hack to me, better ideas welcome),
> therefore RFC and no SOB. But it should demonstrate the plan. The
> workflow for adding a new KVM feature support would be first a 'make
> update-linux-header LINUX=/my/local/linux' + git commit, and then the
> commit of the kvm, vhost, whatever changes.
> 
> Makefile        |   17 +++++++
> Makefile.target |    2 +-
> configure       |  127 ++++++++-----------------------------------------------
> 3 files changed, 36 insertions(+), 110 deletions(-)

Very nice!

The old way to poke into the kernel internals was really annoying and confusing.

        Arnd

Reply via email to