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:
parent
4ce6980d66
commit
02f451a3fc
@ -231,7 +231,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
|
||||
|
Loading…
Reference in New Issue
Block a user