summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/kernel.bbclass14
1 files changed, 6 insertions, 8 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index b8bff3e565..eae5c65d1d 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -118,17 +118,15 @@ kernel_do_install() {
118 # Take care of arch specific headers 118 # Take care of arch specific headers
119 # Kernel 2.6.27 moved headers from includes/asm-${ARCH} to arch/${ARCH}/include/asm 119 # Kernel 2.6.27 moved headers from includes/asm-${ARCH} to arch/${ARCH}/include/asm
120 if [ -e arch/${ARCH}/include/asm/ ] ; then 120 if [ -e arch/${ARCH}/include/asm/ ] ; then
121 if [ -e include/asm ] ; then 121 install -d $kerneldir/arch/${ARCH}/
122 cp -fR arch/${ARCH}/include/asm/* $kerneldir/include/asm/ 122 cp -fR arch/${ARCH}/* $kerneldir/arch/${ARCH}/
123 fi
124 install -d $kerneldir/arch/${ARCH}/include
125 cp -fR arch/${ARCH}/* $kerneldir/arch/${ARCH}/
126 123
127 # Check for arch/x86 on i386 124 # Check for arch/x86 on i386
128 elif [ -d arch/x86/include/asm/ ]; then 125 elif [ -d arch/x86/include/asm/ ]; then
129 if [ -e include/asm ] ; then 126 if [ -e include/asm ] ; then
130 cp -fR arch/x86/include/asm/* $kerneldir/include/asm/ 127 install -d $kerneldir/include/asm/
131 fi 128 cp -fR arch/x86/include/asm/* $kerneldir/include/asm/
129 fi
132 install -d $kerneldir/arch/x86/include 130 install -d $kerneldir/arch/x86/include
133 cp -fR arch/x86/* $kerneldir/arch/x86/ 131 cp -fR arch/x86/* $kerneldir/arch/x86/
134 fi 132 fi