package/collectd: add missing C++ comment for mysql
PATCH 1/1 package/collectd: add missing C++ comment for mysql
Add missing C++ comment for mysql and while at it drops depends on MMU and threads which are always true
--- package/collectd/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
package/collectd/Config.in +3 -2
@@ -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
Signature · 6 lines
2.33.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hello Fabrice,
Quoted 13 lines · On Sat, 30 Oct 2021 23:53:07 +0200 Fabrice Fontaine…
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 <[email protected]>--- package/collectd/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)package/collectd/Config.in +0
-0
package/collectd/Config.in config BR2_PACKAGE_COLLECTD_MODBUS · line 381
Quoted 5 lines
package/collectd/Config.in +0
-2@@ -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
Regarding the removal of these, there is a school of thought that says it's better to duplicate them, so that when the dependencies of mysql change, it's a bit more obvious what to do.
package/collectd/Config.in config BR2_PACKAGE_COLLECTD_MODBUS · line 386
Quoted 7 lines
package/collectd/Config.in +2
-0select 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
That being said, what does this means for this comment? Should we talk only about the C++ dependency, or also about the threads dependency ?
Arnout, Yann, Peter?
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 7 lines · On Sat, 30 Oct 2021 23:53:07 +0200 Fabrice Fontaine…
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 <[email protected]>--- package/collectd/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
I have applied the comment addition, but not the removal of "duplicated" dependencies.
Thanks!
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Quoted 3 lines · On Sat, 30 Oct 2021 23:53:07 +0200 Fabrice Fontaine…
Add missing C++ comment for mysql and while at it drops depends on MMU and threads which are always true
Quoted 7 lines
Quoted 4 lines
Signed-off-by Fabrice Fontaine <[email protected]>---
package/collectd/Config.in | 5 +++--1 file changed, 3 insertions(+), 2 deletions(-)I have applied the comment addition, but not the removal of "duplicated" dependencies.
Committed to 2021.02.x and 2021.11.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot