diff options
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r-- | meta/classes/kernel.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 88356b1941..78c8c7cf00 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -252,6 +252,10 @@ kernel_do_install() { | |||
252 | cp .config $kerneldir/ | 252 | cp .config $kerneldir/ |
253 | mkdir -p $kerneldir/include/config | 253 | mkdir -p $kerneldir/include/config |
254 | cp include/config/kernel.release $kerneldir/include/config/kernel.release | 254 | cp include/config/kernel.release $kerneldir/include/config/kernel.release |
255 | if [ -e include/linux/version.h ]; then | ||
256 | mkdir -p $kerneldir/include/linux | ||
257 | cp include/linux/version.h $kerneldir/include/linux/version.h | ||
258 | fi | ||
255 | 259 | ||
256 | # As of Linux kernel version 3.0.1, the clean target removes | 260 | # As of Linux kernel version 3.0.1, the clean target removes |
257 | # arch/powerpc/lib/crtsavres.o which is present in | 261 | # arch/powerpc/lib/crtsavres.o which is present in |