All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] [patch] prevent endless loop in prepare-kernel.sh
@ 2008-05-07 11:35 Hillier, Gernot
  2008-05-15  7:47 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Hillier, Gernot @ 2008-05-07 11:35 UTC (permalink / raw)
  To: xenomai

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-15  7:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-07 11:35 [Xenomai-core] [patch] prevent endless loop in prepare-kernel.sh Hillier, Gernot
2008-05-15  7:47 ` Philippe Gerum

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.