kernel.class : fix for recent kernel on x86
authorEric BENARD <eric@eukrea.com>
Sun, 25 Apr 2010 09:20:14 +0000 (09:20 +0000)
committerRoman I Khimov <khimov@altell.ru>
Sun, 2 May 2010 19:31:00 +0000 (23:31 +0400)
commitb2f6d8d0200974b8b98f1bb9b10d46fb06e14b15
tree6561fb68cff5b3fae8e0ea006db2e40cfd0b9c06
parent60e0205577b66d09581d1e830db67fd1c9882b78
kernel.class : fix for recent kernel on x86

- bitbake linux for a x86 machine fails with the following message :
cp: target `.../image/kernel//include/asm-x86/' is not a directory

so create $kerneldir/include/asm-x86 before trying to copy something in
this directory.

- make headers_install fails because of missing directories in include
(tested with linux 2.6.32 and 2.6.33 on x86) and missing Kbuild

Signed-off-by: Eric Benard <eric@eukrea.com>
Acked-by: Roman I Khimov <khimov@altell.ru>
classes/kernel.bbclass