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