Fixes http://autobuild.buildroot.net/results/f53/
f53d4d47a6b65c40c1b122dfad61d9164e533bf0/
Actually only the linux-user code needs it, but with the _CUSTOM_TARGETS
option it is difficult to ensure it only for userland emulation, so just add
it to the main qemu option.
At the same time add the missing wchar/mmu dependencies to the comment.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-comment "QEMU requires a toolchain with threads"
+comment "QEMU requires a toolchain with IPv6, wchar, threads"
depends on BR2_i386 || BR2_x86_64
- depends on !BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_USE_MMU
+ depends on !(BR2_TOOLCHAIN_HAS_THREADS && BR2_USE_WCHAR && BR2_INET_IPV6)
config BR2_PACKAGE_QEMU
bool "QEMU"
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_WCHAR # gettext
depends on BR2_USE_MMU # fork()
+ depends on BR2_INET_IPV6 # for linux-user
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_PIXMAN
select BR2_PACKAGE_ZLIB