All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] adding-packages-cargo.txt: remove host-cargo select
@ 2018-06-07 18:03 Fabrice Fontaine
  2018-06-10 13:01 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Fontaine @ 2018-06-07 18:03 UTC (permalink / raw)
  To: buildroot

Remove select BR2_PACKAGE_HOST_CARGO from Config.in

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 docs/manual/adding-packages-cargo.txt | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/docs/manual/adding-packages-cargo.txt b/docs/manual/adding-packages-cargo.txt
index b7fc09acfe..8ef8fc08f4 100644
--- a/docs/manual/adding-packages-cargo.txt
+++ b/docs/manual/adding-packages-cargo.txt
@@ -18,11 +18,10 @@ The +Config.in+ file of Cargo-based package 'foo' should contain:
 01: config BR2_PACKAGE_FOO
 02: 	bool "foo"
 03: 	depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
-04: 	select BR2_PACKAGE_HOST_CARGO
-05: 	help
-06: 	  This is a comment that explains what foo is.
-07:
-08: 	  http://foosoftware.org/foo/
+04: 	help
+05: 	  This is a comment that explains what foo is.
+06:
+07: 	  http://foosoftware.org/foo/
 ---------------------------
 
 ==== Cargo-based package's +.mk+ file
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] adding-packages-cargo.txt: remove host-cargo select
  2018-06-07 18:03 [Buildroot] [PATCH 1/1] adding-packages-cargo.txt: remove host-cargo select Fabrice Fontaine
@ 2018-06-10 13:01 ` Thomas Petazzoni
  2018-06-10 13:24   ` Fabrice Fontaine
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2018-06-10 13:01 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu,  7 Jun 2018 20:03:27 +0200, Fabrice Fontaine wrote:
> Remove select BR2_PACKAGE_HOST_CARGO from Config.in
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

In fact, I don't agree with this change. Cargo packages are going to
use host-cargo, so it makes sense for them to select.

Today, it is not mandatory for a host package to be selected at the
Config.in level to have it built, and we don't enforce this. But it is
actually more logical to do it, and in line with our long-term idea of
having Config.in options for all host packages.

So, in fact I prefer your original patch, and I disagree with Baruch
statement that we shouldn't do the select. Yes, it is not /needed/, but
it is more correct with the select.

Best regards,

Thoms
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] adding-packages-cargo.txt: remove host-cargo select
  2018-06-10 13:01 ` Thomas Petazzoni
@ 2018-06-10 13:24   ` Fabrice Fontaine
  0 siblings, 0 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2018-06-10 13:24 UTC (permalink / raw)
  To: buildroot

Dear Thomas,

2018-06-10 15:01 GMT+02:00 Thomas Petazzoni <thomas.petazzoni@bootlin.com>:

> Hello,
>
> On Thu,  7 Jun 2018 20:03:27 +0200, Fabrice Fontaine wrote:
> > Remove select BR2_PACKAGE_HOST_CARGO from Config.in
> >
> > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
>
> In fact, I don't agree with this change. Cargo packages are going to
> use host-cargo, so it makes sense for them to select.
>
> Today, it is not mandatory for a host package to be selected at the
> Config.in level to have it built, and we don't enforce this. But it is
> actually more logical to do it, and in line with our long-term idea of
> having Config.in options for all host packages.
>
> So, in fact I prefer your original patch, and I disagree with Baruch
> statement that we shouldn't do the select. Yes, it is not /needed/, but
> it is more correct with the select.
>
OK, so I will send a v3 of my patch's serie.

>
> Best regards,
>
> Thoms
> --
> Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
Best Regards,

Fabrice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180610/daa33b6c/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-06-10 13:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-07 18:03 [Buildroot] [PATCH 1/1] adding-packages-cargo.txt: remove host-cargo select Fabrice Fontaine
2018-06-10 13:01 ` Thomas Petazzoni
2018-06-10 13:24   ` Fabrice Fontaine

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.