Alexander Graf wrote: > KVM as is assumes that the kernel obj dir and the kernel source dir > are at the same location. This is true for most self-built vanilla > kernels, but some distributions split these up (e.g. SUSE). > To keep compatible and have users have a good experience on building > KVM on any distribution, this patch attempts to rebuild the logic > from the kernel Makefile as closely as possible. With it I > successfully built KVM on a current SUSE system. > > Signed-off-by: Alexander Graf <[EMAIL PROTECTED]> > > Please check and see if it breaks the build process for anyone else. > Building with IA64 on SUSE-kernels is still broken due to similar but > separate problems.
Hi, Graf I am confused by this patch. Why not use ./configure --kerneldir= your_kernel_source_directory ? It should be also workable for you. In the Makefile, KERNELDIR means the kernel source directory of target machine, and is set to /lib/modules/$(uname -r)/build of build machine by default. But you can change it at your will through configure or modifying config.mak. Xiantao -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
