kernel.bbclass: match x86 header installation to other architectures

The header installation for x86 was slightly different as to that employed
for other architectures, change them to match for consistency.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
Joshua Lock 2010-05-20 12:58:25 +01:00
parent 7a4f1adcbc
commit e30c5a29d2
1 changed files with 3 additions and 2 deletions

View File

@ -126,8 +126,9 @@ kernel_do_install() {
# Check for arch/x86 on i386
elif [ -d arch/x86/include/asm/ ]; then
mkdir -p $kerneldir/include/asm-x86/
cp -fR arch/x86/include/asm/* $kerneldir/include/asm-x86/
if [ -e include/asm ] ; then
cp -fR arch/x86/include/asm/* $kerneldir/include/$ASMDIR/
fi
install -d $kerneldir/arch/x86/include
cp -fR arch/x86/* $kerneldir/arch/x86/
fi