As of kernel-devel-2.6.33-0.20.rc5.git0.fc13.x86_64 you cannot build any modules against it. AFAICT it is due to missing include/generated so that this would fix it.
But it makes me wonder, why don't we just copy all of include/ instead of this list of subdirectories?
Thanks, Roland
--- kernel.spec 27 Jan 2010 11:29:18 -0800 1.1906 +++ kernel.spec 27 Jan 2010 11:31:42 -0800 @@ -1527,7 +1527,7 @@ hwcap 0 nosegneg" fi mkdir -p $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include cd include - cp -a acpi config crypto keys linux math-emu media mtd net pcmcia rdma rxrpc scsi sound trace video drm asm-generic $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include + cp -a acpi config crypto generated keys linux math-emu media mtd net pcmcia rdma rxrpc scsi sound trace video drm asm-generic $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include pushd $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/include ln -s arch/%{asmarch}/include/asm asm popd
On Wed, Jan 27, 2010 at 11:36:15AM -0800, Roland McGrath wrote:
As of kernel-devel-2.6.33-0.20.rc5.git0.fc13.x86_64 you cannot build any modules against it. AFAICT it is due to missing include/generated so that this would fix it.
But it makes me wonder, why don't we just copy all of include/ instead of this list of subdirectories?
I think it's just an historical thing (and the reasons are long forgotten). I don't see any reason not to just copy the whole heirarchy.
Dave
But it makes me wonder, why don't we just copy all of include/ instead of this list of subdirectories?
I think it's just an historical thing (and the reasons are long forgotten). I don't see any reason not to just copy the whole heirarchy.
Committed and building. (A home test build seemed to come out OK for a bonehead test of building a module and not trying it.)
Thanks, Roland
kernel@lists.fedoraproject.org