Bläddra i källkod

qemu: needs IPv6

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>
Peter Korsgaard 10 år sedan
förälder
incheckning
45fe0d3b46
1 ändrade filer med 4 tillägg och 2 borttagningar
  1. 4 2
      package/qemu/Config.in

+ 4 - 2
package/qemu/Config.in

@@ -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