kernel.bbclass : fix install for x86
PATCH 1/1 kernel.bbclass : fix install for 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.
Signed-off-by Eric Benard <[email protected]>
--- classes/kernel.bbclass | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
classes/kernel.bbclass +1 -0
@@ -142,6 +142,7 @@ 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/ install -d $kerneldir/arch/x86/include cp -fR arch/x86/* $kerneldir/arch/x86/
Signature · 1 line
1.6.3.3
Quoted 6 lines · Eric Benard
bitbake linux for a x86 machine fails with the following message :
cp: target `.../image/kernel//include/asm-x86/' is not a directoryso create $kerneldir/include/asm-x86 before trying to copy something in this directory.
forget it, this is not the right fix.
Eric