aboutsummaryrefslogtreecommitdiff
path: root/package/libserial/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/libserial/Config.in')
-rw-r--r--package/libserial/Config.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/package/libserial/Config.in b/package/libserial/Config.in
index 22adb7265a..df5d1b5432 100644
--- a/package/libserial/Config.in
+++ b/package/libserial/Config.in
@@ -1,11 +1,16 @@
config BR2_PACKAGE_LIBSERIAL
bool "libserial"
depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS # boost
+ depends on BR2_TOOLCHAIN_HAS_THREADS # boost
+ depends on BR2_USE_WCHAR # boost
+ select BR2_PACKAGE_BOOST
help
Simplified serial port programming in C++ under POSIX operating
systems.
http://libserial.sourceforge.net/
-comment "libserial needs a toolchain w/ C++"
- depends on !BR2_INSTALL_LIBSTDCPP
+comment "libserial needs a toolchain w/ C++, threads, wchar"
+ depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR