summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/classes/kernel.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index ab984e3e88..1d8dff9ada 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -188,7 +188,9 @@ kernel_do_install() {
fi
# Necessary for building modules like compat-wireless.
- cp include/generated/bounds.h $kerneldir/include/generated/bounds.h
+ if [ -f include/generated/bounds.h ]; then
+ cp include/generated/bounds.h $kerneldir/include/generated/bounds.h
+ fi
# Remove the following binaries which cause strip or arch QA errors
# during do_package for cross-compiled platforms