mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
docs/manual: fix Config.in option that cargo packages must depend on
Back in commit025b863e6f, 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> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commitedee45b843) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
cf61da4748
commit
08c7ad11b8
@@ -17,7 +17,7 @@ The +Config.in+ file of Cargo-based package 'foo' should contain:
|
|||||||
---------------------------
|
---------------------------
|
||||||
01: config BR2_PACKAGE_FOO
|
01: config BR2_PACKAGE_FOO
|
||||||
02: bool "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
|
04: select BR2_PACKAGE_HOST_CARGO
|
||||||
05: help
|
05: help
|
||||||
06: This is a comment that explains what foo is.
|
06: This is a comment that explains what foo is.
|
||||||
|
|||||||
Reference in New Issue
Block a user