[rtems commit] configure: Paravirtualization for all targets
Sebastian Huber
sebh at rtems.org
Thu May 8 06:33:15 UTC 2014
Module: rtems
Branch: master
Commit: d9196d1da75ba0f80ff0ac059479e291c8300d2b
Changeset: http://git.rtems.org/rtems/commit/?id=d9196d1da75ba0f80ff0ac059479e291c8300d2b
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Apr 10 08:25:33 2014 +0200
configure: Paravirtualization for all targets
Virtual machines with paravirtualization exist not only on x86.
---
aclocal/enable-paravirt.m4 | 10 +++-------
cpukit/aclocal/enable-paravirt.m4 | 10 +++-------
2 files changed, 6 insertions(+), 14 deletions(-)
diff --git a/aclocal/enable-paravirt.m4 b/aclocal/enable-paravirt.m4
index ff768f4..b3ef97e 100644
--- a/aclocal/enable-paravirt.m4
+++ b/aclocal/enable-paravirt.m4
@@ -2,15 +2,11 @@ AC_DEFUN([RTEMS_ENABLE_PARAVIRT],
[
AC_ARG_ENABLE(paravirt,
-[AS_HELP_STRING([--enable-paravirt],[enable support for paravirtualization
-(i386 only) (default=no) ])],
+[AS_HELP_STRING([--enable-paravirt],[enable support for paravirtualization
+(default=no)])],
[case "${enableval}" in
- yes) case "${RTEMS_CPU}" in
- i386) RTEMS_HAS_PARAVIRT=yes ;;
- *) RTEMS_HAS_PARAVIRT=no ;;
- esac
- ;;
+ yes) RTEMS_HAS_PARAVIRT=yes ;;
no) RTEMS_HAS_PARAVIRT=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-paravirt option) ;;
esac],[RTEMS_HAS_PARAVIRT=no])
diff --git a/cpukit/aclocal/enable-paravirt.m4 b/cpukit/aclocal/enable-paravirt.m4
index ff768f4..b3ef97e 100644
--- a/cpukit/aclocal/enable-paravirt.m4
+++ b/cpukit/aclocal/enable-paravirt.m4
@@ -2,15 +2,11 @@ AC_DEFUN([RTEMS_ENABLE_PARAVIRT],
[
AC_ARG_ENABLE(paravirt,
-[AS_HELP_STRING([--enable-paravirt],[enable support for paravirtualization
-(i386 only) (default=no) ])],
+[AS_HELP_STRING([--enable-paravirt],[enable support for paravirtualization
+(default=no)])],
[case "${enableval}" in
- yes) case "${RTEMS_CPU}" in
- i386) RTEMS_HAS_PARAVIRT=yes ;;
- *) RTEMS_HAS_PARAVIRT=no ;;
- esac
- ;;
+ yes) RTEMS_HAS_PARAVIRT=yes ;;
no) RTEMS_HAS_PARAVIRT=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for enable-paravirt option) ;;
esac],[RTEMS_HAS_PARAVIRT=no])
More information about the vc
mailing list