소스 검색

package/kvm-unit-tests: Completely disable the tests on big endian ARM

Though the code compiles with a big endian toolchain, the kvm-unit-tests
do not work at all in big endian mode on ARM. Until someone steps up to
fix this, disable the package completely on big endian ARM targets.

Signed-off-by: Thomas Huth <huth@tuxfamily.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Thomas Huth 3 년 전
부모
커밋
b4f8c41b5e
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      package/kvm-unit-tests/Config.in

+ 4 - 3
package/kvm-unit-tests/Config.in

@@ -1,12 +1,13 @@
 config BR2_PACKAGE_KVM_UNIT_TESTS_ARCH_SUPPORTS
 	bool
-	# On ARM, it uses virtualization extensions
-	default y if BR2_cortex_a7 || BR2_cortex_a12 || \
+	# On ARM, it needs virtualization extensions and little endian CPUs
+	default y if (BR2_arm || BR2_aarch64) && \
+		(BR2_cortex_a7 || BR2_cortex_a12 || \
 		BR2_cortex_a15 || BR2_cortex_a15_a7 || \
 		BR2_cortex_a17 || BR2_cortex_a17_a7 || \
 		BR2_cortex_a55 || BR2_cortex_a75 || \
 		BR2_cortex_a75_a55 || BR2_cortex_a76 || \
-		BR2_cortex_a76_a55
+		BR2_cortex_a76_a55)
 	default y if BR2_i386 || BR2_x86_64
 	default y if BR2_powerpc64 || BR2_powerpc64le
 	default y if BR2_s390x