Module: xenomai-3 Branch: next Commit: 4686faa1937bafc6d4174c971a09de80805ae7b8 URL: http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=4686faa1937bafc6d4174c971a09de80805ae7b8
Author: Philippe Gerum <r...@xenomai.org> Date: Mon Feb 23 16:55:13 2015 +0100 scripts/prepare-kernel.sh: fix check for supported major kernel version --- scripts/prepare-kernel.sh | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/scripts/prepare-kernel.sh b/scripts/prepare-kernel.sh index d0d62da..b7c2f0b 100755 --- a/scripts/prepare-kernel.sh +++ b/scripts/prepare-kernel.sh @@ -376,11 +376,13 @@ patch_kernelversion_specific="y" case $linux_VERSION.$linux_PATCHLEVEL in - # - # Linux 3.x section - # + 2.*) - 3.*) + echo "$me: Unsupported kernel version $linux_VERSION.$linux_PATCHLEVEL.x" >&2 + exit 2 + ;; + + *) patch_architecture_specific="y" @@ -420,16 +422,6 @@ test "x$CONFIG_XENO_REVISION_LEVEL" = "x" && CONFIG_XENO_REVISION_LEVEL=0 fi ;; - # - # Paranoid section - # - - *) - - echo "$me: Unsupported kernel version $linux_VERSION.$linux_PATCHLEVEL.x" >&2 - exit 2 - ;; - esac # Create local directories then symlink to the source files from _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git