qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Set a useful default for kerneldir


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] Set a useful default for kerneldir
Date: Wed, 01 Jul 2009 08:31:39 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Andi Kleen wrote:
When no explicit kerneldir is specified use the standard
/lib/modules/$(uname -r)/build
convention to find the kernel includes. This should work out of the box on a large number of distributions.

Also support separate objdirs.

Signed-off-by: Andi Kleen <address@hidden>

The reason we don't specify an explicit include is that it makes it possible to have a cross compiler with headers installed in the cross compilers root. If you default to /lib/modules, you have to explicitly override it when cross compiling.

Another option would be to just include the KVM headers in QEMU.

Regards,

Anthony Liguori





reply via email to

[Prev in Thread] Current Thread [Next in Thread]