qemu: needs IPv6
authorPeter Korsgaard <peter@korsgaard.com>
Mon, 3 Nov 2014 21:55:26 +0000 (22:55 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 3 Nov 2014 21:55:26 +0000 (22:55 +0100)
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>
package/qemu/Config.in

index e8d03da10425f929378f5e43bd50262c21c1482b..ebd2684ac3f436c7502047f9f0b4cf426a2da2bc 100644 (file)
@@ -1,6 +1,7 @@
-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"
@@ -8,6 +9,7 @@ config BR2_PACKAGE_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