mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 00:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
bd726660a3
commit
b915fa43ec
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user