Skip to contentSkip to conversation

configure.ac: Enable SMP by default

PATCH Applied Richard Weinberger 2 participants 2 messages Apr 8, 2022 – Apr 13, 2022

lore
Share & tools
lore
#0 lore raw

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.

---
 configure.ac | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
configure.ac +2 -5
index 019453793..867fc4636 100644
@@ -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
Applied
#1 lore raw
Quoted 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.

---
 configure.ac | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
configure.ac +0 -1
index 019453793..867fc4636 100644
@@ -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