+config BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
+ bool
+ # Only tested on these architectures
+ default y if BR2_i386 || BR2_mips || BR2_mipsel || BR2_x86_64
+
comment "QEMU requires a toolchain with wchar, threads"
- depends on BR2_i386 || BR2_x86_64
+ depends on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
depends on BR2_USE_MMU
depends on !(BR2_TOOLCHAIN_HAS_THREADS && BR2_USE_WCHAR)
config BR2_PACKAGE_QEMU
bool "QEMU"
- depends on BR2_i386 || BR2_x86_64
+ depends on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_WCHAR # gettext
depends on BR2_USE_MMU # fork()