浏览代码

package/xenomai: disable for cortex-M cpus

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>
Romain Naour 9 年之前
父节点
当前提交
c946f1a909
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      package/xenomai/Config.in

+ 2 - 2
package/xenomai/Config.in

@@ -1,8 +1,8 @@
 config BR2_PACKAGE_XENOMAI_ARCH_SUPPORTS
 config BR2_PACKAGE_XENOMAI_ARCH_SUPPORTS
 	bool
 	bool
 	default y
 	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"
 comment "xenomai needs a toolchain w/ threads"
 	depends on !BR2_TOOLCHAIN_HAS_THREADS
 	depends on !BR2_TOOLCHAIN_HAS_THREADS