package/boost: boost-filesystem needs wchar
authorJörg Krause <joerg.krause@embedded.rocks>
Fri, 17 Jul 2015 14:15:16 +0000 (16:15 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 18 Jul 2015 12:13:50 +0000 (14:13 +0200)
Also add reverse dependency for cc-tool.

Fixes:
http://autobuild.buildroot.net/results/2c7/2c7783b7f3cc28d54d15a7f017442c48244ffd8e/
http://autobuild.buildroot.net/results/2c7/2c7783b7f3cc28d54d15a7f017442c48244ffd8e/
http://autobuild.buildroot.net/results/0dd/0dd3ef96bbd034a41d908cdaa6552b27fda78132/
http://autobuild.buildroot.net/results/34b/34b55b2cd83fd5d87af4a9c15d05094b16ef3960/

and many more

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/boost/Config.in
package/cc-tool/Config.in

index 92d59c2ec1d2c3c4014b94e2694d40e0d852a0c4..68004b6cc1b06abecfe897b149ad96d6e4769ca7 100644 (file)
@@ -77,6 +77,10 @@ config BR2_PACKAGE_BOOST_EXCEPTION
 
 config BR2_PACKAGE_BOOST_FILESYSTEM
        bool "boost-filesystem"
+       depends on BR2_USE_WCHAR
+
+comment "boost-filesystem needs a toolchain w/ wchar"
+       depends on !BR2_USE_WCHAR
 
 config BR2_PACKAGE_BOOST_GRAPH
        bool "boost-graph"
index be115997a3620f5644093c4bd0dfe23483cad93e..f8e4531e26f78979ca309ada02002a3d1c405c14 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_CC_TOOL
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
+       depends on BR2_USE_WCHAR # boost-filesystem
        select BR2_PACKAGE_LIBUSB
        select BR2_PACKAGE_BOOST
        select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
@@ -17,6 +18,6 @@ config BR2_PACKAGE_CC_TOOL
 
          http://sourceforge.net/projects/cctool/
 
-comment "cc-tool needs a toolchain w/ C++, threads"
+comment "cc-tool needs a toolchain w/ C++, threads, wchar"
        depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR