summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorLeon Woestenberg <leon@sidebranch.com>2012-07-31 21:53:58 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-21 10:16:42 (GMT)
commitc26cfe77381f5cac464bb2b5827167c3dce51d8b (patch)
tree2876db5592360c87e7ea07fe5784d243af59a6d5 /meta/classes
parent81aac104facbb43819a6708b488f38735453f5f9 (diff)
downloadpoky-c26cfe77381f5cac464bb2b5827167c3dce51d8b.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. (See OE-Core 02ac0d1b65389e1779d5f95047f761d7a82ef7a4) (From OE-Core rev: 6e9cfa4ba34d8899dfb271818ef30730de8353fa) Signed-off-by: Leon Woestenberg <leon@sidebranch.com> Signed-off-by: Scott Garman <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/kernel.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index c21ab96..5f6ff66 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -183,6 +183,11 @@ kernel_do_install() {
183 cp arch/powerpc/lib/crtsavres.o $kerneldir/arch/powerpc/lib/crtsavres.o 183 cp arch/powerpc/lib/crtsavres.o $kerneldir/arch/powerpc/lib/crtsavres.o
184 fi 184 fi
185 185
186 # Necessary for building modules like compat-wireless.
187 if [ -f include/generated/bounds.h ]; then
188 cp include/generated/bounds.h $kerneldir/include/generated/bounds.h
189 fi
190
186 # Remove the following binaries which cause strip errors 191 # Remove the following binaries which cause strip errors
187 # during do_package for cross-compiled platforms 192 # during do_package for cross-compiled platforms
188 bin_files="arch/powerpc/boot/addnote arch/powerpc/boot/hack-coff \ 193 bin_files="arch/powerpc/boot/addnote arch/powerpc/boot/hack-coff \