summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorLeon Woestenberg <leon@sidebranch.com>2012-07-31 00:03:27 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-31 08:02:09 +0100
commitb915fa43ec96dd1c44846afd4345e9775f95fba6 (patch)
tree65f564a521480db029ec85f5d8deafd80135f107 /meta/classes/kernel.bbclass
parentbd726660a3b365b8f0f702771afef30dcd05b6d7 (diff)
downloadpoky-b915fa43ec96dd1c44846afd4345e9775f95fba6.tar.gz
kernel.bbclass: Copy bounds.h only if it exists, needed for 2.6.x.
Linux 2.6.x kernels did not (all) have the bounds.h file, so copy only iff exists. (From OE-Core rev: 02ac0d1b65389e1779d5f95047f761d7a82ef7a4) Signed-off-by: Leon Woestenberg <leon@sidebranch.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-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() {
188 fi 188 fi
189 189
190 # Necessary for building modules like compat-wireless. 190 # Necessary for building modules like compat-wireless.
191 cp include/generated/bounds.h $kerneldir/include/generated/bounds.h 191 if [ -f include/generated/bounds.h ]; then
192 cp include/generated/bounds.h $kerneldir/include/generated/bounds.h
193 fi
192 194
193 # Remove the following binaries which cause strip or arch QA errors 195 # Remove the following binaries which cause strip or arch QA errors
194 # during do_package for cross-compiled platforms 196 # during do_package for cross-compiled platforms