From: Jan Kiszka <jan.kiszka@domain.hid>
To: xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] [PATCH 1/2] fix automatic patch election
Date: Fri, 22 Jun 2007 17:42:39 +0200 [thread overview]
Message-ID: <467BEDEF.7030101@domain.hid> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 215 bytes --]
Currently, the patch election algorithm does not take the kernel
sub-level version into account, thus one gets offered 2.6.20, although
the kernel is 2.6.19. This patch fixes it.
Should go into 2.3.x as well.
[-- Attachment #1.2: fix-patch-election.patch --]
[-- Type: text/plain, Size: 739 bytes --]
Index: xenomai/scripts/prepare-kernel.sh
===================================================================
--- xenomai.orig/scripts/prepare-kernel.sh
+++ xenomai/scripts/prepare-kernel.sh
@@ -357,7 +357,7 @@ elif test -r $linux_tree/include/linux/a
exit 2
else
if test x$adeos_patch = x; then
- default_adeos_patch=`( ls $xenomai_root/ksrc/arch/$xenomai_arch/patches/adeos-ipipe-$linux_VERSION.$linux_PATCHLEVEL*|sort -r ) 2>/dev/null | head -n1`
+ default_adeos_patch=`( ls $xenomai_root/ksrc/arch/$xenomai_arch/patches/adeos-ipipe-$linux_VERSION.$linux_PATCHLEVEL.$linux_SUBLEVEL*|sort -r ) 2>/dev/null | head -n1`
fi
if test x$default_adeos_patch = x; then
default_adeos_patch=/dev/null
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
reply other threads:[~2007-06-22 15:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=467BEDEF.7030101@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=xenomai@xenomai.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.