docs/manual: fix Config.in option that cargo packages must depend on
PATCH 1/1 docs/manual: fix Config.in option that cargo packages must depend on
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.
--- docs/manual/adding-packages-cargo.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
docs/manual/adding-packages-cargo.txt +1 -1
@@ -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.
Signature · 1 line
2.21.0
Thomas Petazzoni
AppliedPATCH 1/1 docs/manual: fix Config.in option that cargo packages must depend on
Quoted 10 lines · On Sat, 5 Oct 2019 23:45:10 +0200 Thomas Petazzoni…
Back in commit
025b863e6facb7b219b82ee6ee7a7916c2c3c47e, the optionBR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTSwas 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.
Quoted 6 lines
Signed-off-by Thomas Petazzoni <[email protected]>Cc Sam Voss <[email protected]>Cc Eric Le Bihan <[email protected]>--- docs/manual/adding-packages-cargo.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 docs/manual: fix Config.in option that cargo packages must depend on
In reply to Thomas PetazzoniQuoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Back in commit
025b863e6facb7b219b82ee6ee7a7916c2c3c47e, the optionBR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTSwas 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).
Quoted 6 lines
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 <[email protected]>Cc Sam Voss <[email protected]>Cc Eric Le Bihan <[email protected]>
Committed to 2019.02.x and 2019.08.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard