Hillier, Gernot wrote:
> 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
> 

Merged, thanks.

-- 
Philippe.

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to