include generated includes in -devel package - only for pvops

Required to compile external modules - there are eg unistd_{32,64}.h.
This commit is contained in:
Marek Marczykowski 2012-06-04 15:33:31 +02:00
parent ceba3bd561
commit c8d9a64026

View File

@ -225,7 +225,9 @@ rm -f %buildroot/lib/modules/%kernelrelease/build/scripts/*/*.o
cp -a scripts/* %buildroot/lib/modules/%kernelrelease/build/scripts/
cp -a include/* %buildroot/lib/modules/%kernelrelease/build/include
cp -a --parents arch/x86/include/generated %buildroot/lib/modules/%kernelrelease/build/
if [ "%{build_flavor}" != "xenlinux" ]; then
cp -a --parents arch/x86/include/generated %buildroot/lib/modules/%kernelrelease/build/
fi
# Make sure the Makefile and version.h have a matching timestamp so that
# external modules can be built