|
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)/buildconvention 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
[Prev in Thread] | Current Thread | [Next in Thread] |