include generated includes in -devel package

Required to compile external modules - there are eg unistd_{32,64}.h.
This commit is contained in:
Marek Marczykowski 2012-05-09 13:16:34 +02:00
parent 770e621fae
commit e929164e52

View File

@ -225,6 +225,7 @@ rm -f %buildroot/lib/modules/%kernelrelease/build/scripts/*/*.o
cp -a scripts/* %buildroot/lib/modules/%kernelrelease/build/scripts/ cp -a scripts/* %buildroot/lib/modules/%kernelrelease/build/scripts/
cp -a include/* %buildroot/lib/modules/%kernelrelease/build/include cp -a include/* %buildroot/lib/modules/%kernelrelease/build/include
cp -a --parents arch/x86/include/generated %buildroot/lib/modules/%kernelrelease/build/
# Make sure the Makefile and version.h have a matching timestamp so that # Make sure the Makefile and version.h have a matching timestamp so that
# external modules can be built # external modules can be built