Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "Eric Bénard" <eric@eukrea.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH 1/2] sarge-at91: fix kernel build
Date: Tue, 23 Nov 2010 17:53:13 +0100	[thread overview]
Message-ID: <1290531194-31338-1-git-send-email-eric@eukrea.com> (raw)

without this fix, the kernel can't build for sarge-at91,
tested with angstrom-2010.x and minimal distros.
http://tinderbox.openembedded.net/public/logs/task/10846611.txt

Signed-off-by: Eric Bénard <eric@eukrea.com>
---
 recipes/linux/linux-2.6.21/sumversionfix.patch |   12 ++++++++++++
 recipes/linux/linux_2.6.21.bb                  |    1 +
 2 files changed, 13 insertions(+), 0 deletions(-)
 create mode 100644 recipes/linux/linux-2.6.21/sumversionfix.patch

diff --git a/recipes/linux/linux-2.6.21/sumversionfix.patch b/recipes/linux/linux-2.6.21/sumversionfix.patch
new file mode 100644
index 0000000..78461cb
--- /dev/null
+++ b/recipes/linux/linux-2.6.21/sumversionfix.patch
@@ -0,0 +1,12 @@
+diff --git a/scripts/mod/sumversion.c b/scripts/mod/sumversion.c
+index 8a28756..bd2981b 100644
+--- a/scripts/mod/sumversion.c
++++ b/scripts/mod/sumversion.c
+@@ -7,6 +7,7 @@
+ #include <ctype.h>
+ #include <errno.h>
+ #include <string.h>
++#include <linux/limits.h>
+ #include "modpost.h"
+ 
+ /*
diff --git a/recipes/linux/linux_2.6.21.bb b/recipes/linux/linux_2.6.21.bb
index 4aefbd1..97a6c03 100644
--- a/recipes/linux/linux_2.6.21.bb
+++ b/recipes/linux/linux_2.6.21.bb
@@ -12,6 +12,7 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2;name=ke
            file://tsc2003.c \
 	   file://tsc2003-config.diff \
 	   file://defconfig \
+           file://sumversionfix.patch \
 	   "
 
 SRC_URI_append_simpad = "\
-- 
1.6.3.3




             reply	other threads:[~2010-11-23 16:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-23 16:53 Eric Bénard [this message]
2010-11-23 16:53 ` [PATCH 2/2] mx31ads: make linux 2.6.36 compile Eric Bénard
2010-11-23 17:06   ` Khem Raj

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=1290531194-31338-1-git-send-email-eric@eukrea.com \
    --to=eric@eukrea.com \
    --cc=openembedded-devel@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox