Module: xenomai-head
Branch: master
Commit: 9752cd94a0dc4ee1756776c4427654577276ba16
URL:    
http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=9752cd94a0dc4ee1756776c4427654577276ba16

Author: Philippe Gerum <r...@xenomai.org>
Date:   Thu May 21 16:22:09 2009 +0200

Fix default patch selection with --enable-linux-build

---

 configure    |    2 +-
 configure.in |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 261dc19..da70e89 100755
--- a/configure
+++ b/configure
@@ -12660,7 +12660,7 @@ fi
 
 
   if test x"$ADEOS_PATCH" = x && test x"$linux_base_version" != x ; then
-        ADEOS_PATCH="`( ls 
$srcdir/ksrc/arch/$XENO_TARGET_ARCH/patches/adeos-ipipe-$linux_version*-{$XENO_TARGET_ARCH,$XENO_LINUX_ARCH}-*|sort
 -r ) 2>/dev/null | head -n1`"
+        ADEOS_PATCH="`( ls 
$srcdir/ksrc/arch/$XENO_TARGET_ARCH/patches/adeos-ipipe-$linux_base_version*-{$XENO_TARGET_ARCH,$XENO_LINUX_ARCH}-*|sort
 -r ) 2>/dev/null | head -n1`"
   fi
   if test x"$ADEOS_PATCH" = x || test ! -e $ADEOS_PATCH ; then
      { { echo "$as_me:$LINENO: error: Unable to find Adeos patch, please use 
--with-adeos-patch" >&5
diff --git a/configure.in b/configure.in
index e62447b..23361a4 100644
--- a/configure.in
+++ b/configure.in
@@ -361,7 +361,7 @@ patch. Default is to infer the patch name from Linux kernel 
version.]),
         [ADEOS_PATCH="`/bin/bash -c \"echo $withval\"`"])
 
   if test x"$ADEOS_PATCH" = x && test x"$linux_base_version" != x ; then
-        ADEOS_PATCH="`( ls 
$srcdir/ksrc/arch/$XENO_TARGET_ARCH/patches/adeos-ipipe-$linux_version*-{$XENO_TARGET_ARCH,$XENO_LINUX_ARCH}-*|sort
 -r ) 2>/dev/null | head -n1`"
+        ADEOS_PATCH="`( ls 
$srcdir/ksrc/arch/$XENO_TARGET_ARCH/patches/adeos-ipipe-$linux_base_version*-{$XENO_TARGET_ARCH,$XENO_LINUX_ARCH}-*|sort
 -r ) 2>/dev/null | head -n1`"
   fi
   if test x"$ADEOS_PATCH" = x || test ! -e $ADEOS_PATCH ; then
      AC_MSG_ERROR([Unable to find Adeos patch, please use --with-adeos-patch])


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

Reply via email to