From e929164e524fe0cc614da15466607a175cb3d34b Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Wed, 9 May 2012 13:16:34 +0200 Subject: [PATCH] include generated includes in -devel package Required to compile external modules - there are eg unistd_{32,64}.h. --- kernel.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel.spec b/kernel.spec index 81c1e7c..4e4c806 100644 --- a/kernel.spec +++ b/kernel.spec @@ -225,6 +225,7 @@ 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/ # Make sure the Makefile and version.h have a matching timestamp so that # external modules can be built