package/xenomai: disable for cortex-M cpus
authorRomain Naour <romain.naour@gmail.com>
Mon, 1 Aug 2016 16:30:20 +0000 (18:30 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 1 Aug 2016 20:09:05 +0000 (22:09 +0200)
Following include/asm-arm/features.h, Xenomai doesn't support cortex-M
cpus.

error "Could not find current ARM architecture"

Fixes:
http://autobuild.buildroot.net/results/06a/06a52b2c2c23df595f58feb6b95437fc65a86d31

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/xenomai/Config.in

index a4a279545d636c34d9b97bd028794ba93d653d82..3de7bde0929625af37574808420a1833b9934f57 100644 (file)
@@ -1,8 +1,8 @@
 config BR2_PACKAGE_XENOMAI_ARCH_SUPPORTS
        bool
        default y
-       depends on BR2_i386 || BR2_x86_64 || BR2_arm || \
-                  BR2_bfin || BR2_powerpc || BR2_sh4
+       depends on BR2_i386 || BR2_x86_64 || (BR2_arm && !BR2_ARM_CPU_ARMV7M) || \
+               BR2_bfin || BR2_powerpc || BR2_sh4
 
 comment "xenomai needs a toolchain w/ threads"
        depends on !BR2_TOOLCHAIN_HAS_THREADS