From: Joshua Lock Date: Thu, 20 May 2010 11:58:25 +0000 (+0100) Subject: kernel.bbclass: match x86 header installation to other architectures X-Git-Tag: 2011-1~5979 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e30c5a29d27f424bb2ec8033bb8337d6ce54251c;p=openembedded-core.git 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 --- diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 6963184881..966b9940c3 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -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