* [Buildroot] [PATCH 1/1] package/collectd: add missing C++ comment for mysql
@ 2021-10-30 21:53 Fabrice Fontaine
2021-11-03 22:38 ` Thomas Petazzoni
2021-12-28 21:09 ` Thomas Petazzoni
0 siblings, 2 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2021-10-30 21:53 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine, Asaf Kahlon
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 <fontaine.fabrice@gmail.com>
---
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/collectd: add missing C++ comment for mysql
2021-10-30 21:53 [Buildroot] [PATCH 1/1] package/collectd: add missing C++ comment for mysql Fabrice Fontaine
@ 2021-11-03 22:38 ` Thomas Petazzoni
2021-12-28 21:09 ` Thomas Petazzoni
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2021-11-03 22:38 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Yann E. MORIN, Asaf Kahlon, buildroot
Hello Fabrice,
On Sat, 30 Oct 2021 23:53:07 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> 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 <fontaine.fabrice@gmail.com>
> ---
> 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
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.
> 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
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
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/collectd: add missing C++ comment for mysql
2021-10-30 21:53 [Buildroot] [PATCH 1/1] package/collectd: add missing C++ comment for mysql Fabrice Fontaine
2021-11-03 22:38 ` Thomas Petazzoni
@ 2021-12-28 21:09 ` Thomas Petazzoni
2022-01-25 18:10 ` Peter Korsgaard
1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2021-12-28 21:09 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Asaf Kahlon, buildroot
On Sat, 30 Oct 2021 23:53:07 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> 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 <fontaine.fabrice@gmail.com>
> ---
> 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
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/collectd: add missing C++ comment for mysql
2021-12-28 21:09 ` Thomas Petazzoni
@ 2022-01-25 18:10 ` Peter Korsgaard
0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2022-01-25 18:10 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: Fabrice Fontaine, Asaf Kahlon, buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:
> On Sat, 30 Oct 2021 23:53:07 +0200
> Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
>> 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 <fontaine.fabrice@gmail.com>
>> ---
>> 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.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-01-25 18:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-30 21:53 [Buildroot] [PATCH 1/1] package/collectd: add missing C++ comment for mysql Fabrice Fontaine
2021-11-03 22:38 ` Thomas Petazzoni
2021-12-28 21:09 ` Thomas Petazzoni
2022-01-25 18:10 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox