From: Leon Woestenberg <sidebranch.openembedded@gmail.com>
To: poky@yoctoproject.org
Cc: Leon Woestenberg <leon@sidebranch.com>
Subject: [master] kernel.bbclass: Copy bounds.h only if it exists, needed for 2.6.x.
Date: Tue, 31 Jul 2012 00:03:27 +0200 [thread overview]
Message-ID: <1343685807-4157-1-git-send-email-sidebranch.openembedded@gmail.com> (raw)
From: Leon Woestenberg <leon@sidebranch.com>
Linux 2.6.x kernels did not (all) have the bounds.h file, so copy
only iff exists.
Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
---
meta/classes/kernel.bbclass | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index ab984e3..1d8dff9 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
--
1.7.0.4
next reply other threads:[~2012-07-30 22:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-30 22:03 Leon Woestenberg [this message]
2012-07-31 11:11 ` [master] kernel.bbclass: Copy bounds.h only if it exists, needed for 2.6.x Richard Purdie
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=1343685807-4157-1-git-send-email-sidebranch.openembedded@gmail.com \
--to=sidebranch.openembedded@gmail.com \
--cc=leon@sidebranch.com \
--cc=poky@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.