configure.ac: Enable SMP by default
PATCH 1/1 configure.ac: Enable SMP by default
In 2022 it is hard to find ARM or x86 systems without SMP. Other CPU architectures are no longer supported by Xenomai. So, make SMP support opt-out.
Signed-off-by Richard Weinberger <[email protected]>
--- configure.ac | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
configure.ac +2 -5
@@ -385,12 +385,9 @@ if test x$use_registry = xy; then fi AM_CONDITIONAL(XENO_REGISTRY,[test x$use_registry = xy]) -dnl SMP support (default: on for cobalt/x86, off otherwise) +dnl SMP support (default: on) -CONFIG_SMP= -if test $target_cpu_arch = x86 -a $rtcore_type = cobalt; then - CONFIG_SMP=y -fi +CONFIG_SMP=y AC_MSG_CHECKING(for SMP support) AC_ARG_ENABLE(smp, AS_HELP_STRING([--enable-smp], [Enable SMP support]),
Signature · 1 line
2.34.1
Jan Kiszka
AppliedQuoted 18 lines · Richard Weinberger via Xenomai
In 2022 it is hard to find ARM or x86 systems without SMP. Other CPU architectures are no longer supported by Xenomai. So, make SMP support opt-out.
Signed-off-by Richard Weinberger <[email protected]>--- configure.ac | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)configure.ac +0
-1@@ -385,12 +385,9 @@ if test x$use_registry = xy; then fi AM_CONDITIONAL(XENO_REGISTRY,[test x$use_registry = xy]) -dnl SMP support (default: on for cobalt/x86, off otherwise)
configure.ac if test x$use_registry = xy; then · line 393
Quoted 10 lines
configure.ac +2
-4+dnl SMP support (default: on) -CONFIG_SMP= -if test $target_cpu_arch = x86 -a $rtcore_type = cobalt; then - CONFIG_SMP=y -fi +CONFIG_SMP=y AC_MSG_CHECKING(for SMP support) AC_ARG_ENABLE(smp, AS_HELP_STRING([--enable-smp], [Enable SMP support]),
Thanks, applied.
We could now drop the explicit --enable-smp from debian/rules as well, but that's nothing urgent.
Jan
Signature · 2 lines
Siemens AG, Technology Competence Center Embedded Linux