Thread (4 messages) flat view 4 messages, 3 authors, 2022-01-25

[Buildroot] [PATCH 1/1] package/collectd: add missing C++ comment for mysql

From: Fabrice Fontaine <hidden>
Date: 2021-10-30 21:54:53
Subsystem: the rest · Maintainer: Linus Torvalds

Add missing C++ comment for mysql and while at it drops depends on
MMU and threads which are always true

Signed-off-by: Fabrice Fontaine <redacted>
---
 package/collectd/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/package/collectd/Config.in b/package/collectd/Config.in
index d44d4e4913..6873e6d5ab 100644
--- a/package/collectd/Config.in
+++ b/package/collectd/Config.in
@@ -377,13 +377,14 @@ config BR2_PACKAGE_COLLECTD_MODBUS
 config BR2_PACKAGE_COLLECTD_MYSQL
 	bool "mysql"
 	depends on BR2_INSTALL_LIBSTDCPP # mysql
-	depends on BR2_USE_MMU # mysql
-	depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
 	select BR2_PACKAGE_MYSQL
 	help
 	  Connects to a MySQL database and issues a "show status"
 	  command.
 
+comment "mysql needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
+
 config BR2_PACKAGE_COLLECTD_NETLINK
 	bool "netlink"
 	select BR2_PACKAGE_LIBMNL
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help