From: "Hillier, Gernot" <gernot.hillier@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-core] [patch] prevent endless loop in prepare-kernel.sh
Date: Wed, 07 May 2008 13:35:12 +0200 [thread overview]
Message-ID: <482193F0.6000401@domain.hid> (raw)
Hi there!
Just noted that prepare-kernel.sh ends up in an endless loop when you
use "--default" together with an invalid "--arch" parameter.
Here's a small patch. Please apply. TIA!
Index: scripts/prepare-kernel.sh
===================================================================
--- scripts/prepare-kernel.sh (Revision 3753)
+++ scripts/prepare-kernel.sh (Arbeitskopie)
@@ -327,6 +327,7 @@
*)
echo "$me: unsupported architecture: $linux_arch" >&2
linux_arch=
+ usedefault=
;;
esac
if test \! x$linux_arch = x; then
@@ -384,6 +385,7 @@
fi
if test \! -r "$adeos_patch"; then
echo "$me: cannot read Adeos patch from $adeos_patch" >&2
+ usedefault=
adeos_patch=
fi
done
--
With kind regards,
Gernot Hillier
Siemens AG, CT SE 2
Corporate Competence Center Embedded Linux
next reply other threads:[~2008-05-07 11:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-07 11:35 Hillier, Gernot [this message]
2008-05-15 7:47 ` [Xenomai-core] [patch] prevent endless loop in prepare-kernel.sh Philippe Gerum
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=482193F0.6000401@domain.hid \
--to=gernot.hillier@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.