diff options
author | Koen Kooi <koen@openembedded.org> | 2010-04-17 13:58:19 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-04-17 13:58:53 +0200 |
commit | 0fb52aef77c21a68de87cfc922e2cd6a265ebf25 (patch) | |
tree | 8f58de16dee27ca63fbe9f791e58d0f1f41b6c66 /classes/kernel.bbclass | |
parent | 597e86c28ebd92f673d31c627ca54ceecf4f07a5 (diff) |
kernel.bbclass: fix ASMDIR regressions
Diffstat (limited to 'classes/kernel.bbclass')
-rw-r--r-- | classes/kernel.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index 20403eaba8..7504c119ad 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -132,10 +132,11 @@ kernel_do_install() { cp -fR include/$ASMDIR/* $kerneldir/include/$ASMDIR/ fi - cp -fR include/$ASMDIR/* $kerneldir/include/$ASMDIR/ # Kernel 2.6.27 moved headers from includes/asm-${ARCH} to arch/${ARCH}/include/asm if [ -e arch/${ARCH}/include/asm/ ] ; then - cp -fR arch/${ARCH}/include/asm/* $kerneldir/include/$ASMDIR/ + if [ -e include/asm ] ; then + cp -fR arch/${ARCH}/include/asm/* $kerneldir/include/$ASMDIR/ + fi install -d $kerneldir/arch/${ARCH}/include cp -fR arch/${ARCH}/* $kerneldir/arch/${ARCH}/ |