All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] docs/manual: fix Config.in option that cargo packages must depend on
@ 2019-10-05 21:45 Thomas Petazzoni
  2019-10-10 21:28 ` Thomas Petazzoni
  2019-10-28 16:39 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-10-05 21:45 UTC (permalink / raw)
  To: buildroot

Back in commit 025b863e6facb7b219b82ee6ee7a7916c2c3c47e, the option
BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS was introduced, to
separate the option that host packages needing Rust should depend on
(BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS) from the option that target
packages needing Rust should depend on
(BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS).

Since the example in the manual is showing a target package, we must
use BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Sam Voss <sam.voss@gmail.com>
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
---
 docs/manual/adding-packages-cargo.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/manual/adding-packages-cargo.txt b/docs/manual/adding-packages-cargo.txt
index b7fc09acfe..b6029e1eed 100644
--- a/docs/manual/adding-packages-cargo.txt
+++ b/docs/manual/adding-packages-cargo.txt
@@ -17,7 +17,7 @@ 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
+03: 	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
 04: 	select BR2_PACKAGE_HOST_CARGO
 05: 	help
 06: 	  This is a comment that explains what foo is.
-- 
2.21.0

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

* [Buildroot] [PATCH] docs/manual: fix Config.in option that cargo packages must depend on
  2019-10-05 21:45 [Buildroot] [PATCH] docs/manual: fix Config.in option that cargo packages must depend on Thomas Petazzoni
@ 2019-10-10 21:28 ` Thomas Petazzoni
  2019-10-28 16:39 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2019-10-10 21:28 UTC (permalink / raw)
  To: buildroot

On Sat,  5 Oct 2019 23:45:10 +0200
Thomas Petazzoni <thomas.petazzoni@bootlin.com> wrote:

> Back in commit 025b863e6facb7b219b82ee6ee7a7916c2c3c47e, the option
> BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS was introduced, to
> separate the option that host packages needing Rust should depend on
> (BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS) from the option that target
> packages needing Rust should depend on
> (BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS).
> 
> Since the example in the manual is showing a target package, we must
> use BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> Cc: Sam Voss <sam.voss@gmail.com>
> Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
> ---
>  docs/manual/adding-packages-cargo.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH] docs/manual: fix Config.in option that cargo packages must depend on
  2019-10-05 21:45 [Buildroot] [PATCH] docs/manual: fix Config.in option that cargo packages must depend on Thomas Petazzoni
  2019-10-10 21:28 ` Thomas Petazzoni
@ 2019-10-28 16:39 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-10-28 16:39 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:

 > Back in commit 025b863e6facb7b219b82ee6ee7a7916c2c3c47e, the option
 > BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS was introduced, to
 > separate the option that host packages needing Rust should depend on
 > (BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS) from the option that target
 > packages needing Rust should depend on
 > (BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS).

 > Since the example in the manual is showing a target package, we must
 > use BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
 > Cc: Sam Voss <sam.voss@gmail.com>
 > Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>

Committed to 2019.02.x and 2019.08.x, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2019-10-28 16:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-05 21:45 [Buildroot] [PATCH] docs/manual: fix Config.in option that cargo packages must depend on Thomas Petazzoni
2019-10-10 21:28 ` Thomas Petazzoni
2019-10-28 16:39 ` Peter Korsgaard

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.