diff options
Diffstat (limited to 'package/libsigrok/Config.in')
-rw-r--r-- | package/libsigrok/Config.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/libsigrok/Config.in b/package/libsigrok/Config.in index 47f812c952..93bd06f7b4 100644 --- a/package/libsigrok/Config.in +++ b/package/libsigrok/Config.in @@ -16,6 +16,21 @@ config BR2_PACKAGE_LIBSIGROK http://sigrok.org/wiki/Libsigrok +if BR2_PACKAGE_LIBSIGROK + +config BR2_PACKAGE_LIBSIGROKCXX + bool "build C++ bindings" + select BR2_PACKAGE_GLIBMM + depends on BR2_INSTALL_LIBSTDCPP + help + Build libsigrok C++ bindings as well. + +comment "C++ bindings need a toolchain w/ C++" + depends on BR2_PACKAGE_LIBSIGROK + depends on !BR2_INSTALL_LIBSTDCPP + +endif + comment "libsigrok needs a toolchain w/ wchar, threads" depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS |