package/xenomai: smp support needs at least armv6
authorRomain Naour <romain.naour@gmail.com>
Tue, 2 Feb 2021 20:56:13 +0000 (21:56 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Fri, 5 Feb 2021 08:39:51 +0000 (09:39 +0100)
There are no autobuilder failures for this issue, but the following
defconfig:

BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_PACKAGE_XENOMAI=y
BR2_PACKAGE_XENOMAI_COBALT=y

See:
https://gitlab.denx.de/Xenomai/xenomai/-/blob/v3.1/lib/cobalt/arch/arm/include/asm/xenomai/features.h#L56

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[yann.morin.1998@free.fr: fix the condition]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/xenomai/Config.in

index b6557335288cf44e90d5ef32e125c678f8fc143b..e39a550416161d124a9d995b2e5015e4c1f3c6bb 100644 (file)
@@ -110,6 +110,8 @@ endchoice
 config BR2_PACKAGE_XENOMAI_ENABLE_SMP
        bool "Enable SMP support"
        default y
+       # SMP not supported below armv6
+       depends on !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5
        help
          This option enables SMP support in Xenomai userspace.