diff options
-rw-r--r-- | meta/classes/kernel.bbclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index b24ab1a3f1..f34e63263a 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -191,8 +191,10 @@ kernel_do_install() { | |||
191 | if [ -f include/generated/bounds.h ]; then | 191 | if [ -f include/generated/bounds.h ]; then |
192 | cp include/generated/bounds.h $kerneldir/include/generated/bounds.h | 192 | cp include/generated/bounds.h $kerneldir/include/generated/bounds.h |
193 | fi | 193 | fi |
194 | mkdir -p $kerneldir/arch/${ARCH}/include/generated/ | 194 | if [ -d arch/${ARCH}/include/generated ]; then |
195 | cp -fR arch/${ARCH}/include/generated/* $kerneldir/arch/${ARCH}/include/generated/ | 195 | mkdir -p $kerneldir/arch/${ARCH}/include/generated/ |
196 | cp -fR arch/${ARCH}/include/generated/* $kerneldir/arch/${ARCH}/include/generated/ | ||
197 | fi | ||
196 | 198 | ||
197 | # Remove the following binaries which cause strip or arch QA errors | 199 | # Remove the following binaries which cause strip or arch QA errors |
198 | # during do_package for cross-compiled platforms | 200 | # during do_package for cross-compiled platforms |