From: Scott Garman <scott.a.garman@intel.com>
To: yocto@yoctoproject.org
Subject: Re: [for denzil] kernel.bbclass: Copy bounds.h only if it exists, needed for 2.6.x.
Date: Tue, 31 Jul 2012 15:00:12 -0700 [thread overview]
Message-ID: <5018556C.9070404@intel.com> (raw)
In-Reply-To: <1343766958-5092-1-git-send-email-sidebranch.openembedded@gmail.com>
On 07/31/2012 01:35 PM, sidebranch.openembedded@gmail.com wrote:
> From: Leon Woestenberg <leon@sidebranch.com>
>
> Linux 2.6.x kernels did not (all) have the bounds.h file, so copy
> only iff exists.
>
> (See OE-Core 02ac0d1b65389e1779d5f95047f761d7a82ef7a4)
>
> Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
> ---
> meta/classes/kernel.bbclass | 5 +++++
> 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() {
> cp arch/powerpc/lib/crtsavres.o $kerneldir/arch/powerpc/lib/crtsavres.o
> fi
>
> + # Necessary for building modules like compat-wireless.
> + 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 errors
> # during do_package for cross-compiled platforms
> bin_files="arch/powerpc/boot/addnote arch/powerpc/boot/hack-coff \
>
Merged into my sgarman/denzil-next branches:
http://git.openembedded.org/openembedded-core-contrib/log/?h=sgarman/denzil-next
http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=sgarman/denzil-next
If this passes a round of autobuilder tests, I'll be submitting a pull
request to the official denzil branch shortly thereafter.
Thanks,
Scott
--
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center
next prev parent reply other threads:[~2012-07-31 22:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-31 20:35 [for denzil] kernel.bbclass: Copy bounds.h only if it exists, needed for 2.6.x sidebranch.openembedded
2012-07-31 22:00 ` Scott Garman [this message]
2012-07-31 22:08 ` Leon Woestenberg
2012-08-01 6:55 ` Koen Kooi
2012-08-01 9:08 ` Leon Woestenberg
2012-08-01 16:46 ` Scott Garman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5018556C.9070404@intel.com \
--to=scott.a.garman@intel.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.