package/qemu: rewrite BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET to be more readable

Use the same format introduced for BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS
in commit 65e05cd914.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Romain Naour 2022-05-02 23:25:18 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 33a24e4185
commit 7a9d1ae972

View File

@ -1,9 +1,14 @@
config BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET
bool
# Only tested on these architectures
default y if BR2_aarch64 || BR2_i386 || BR2_mips || BR2_mipsel \
|| BR2_x86_64 || BR2_arm \
|| BR2_powerpc64 || BR2_powerpc64le
default y if BR2_aarch64
default y if BR2_arm
default y if BR2_i386
default y if BR2_mips
default y if BR2_mipsel
default y if BR2_powerpc64
default y if BR2_powerpc64le
default y if BR2_x86_64
comment "QEMU requires a toolchain with wchar, threads, gcc >= 8"
depends on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET