[Buildroot] [RFC PATCH 1/4] doc/adding-packages-cargo: update Config.in sample

Patrick Havelange patrick.havelange at essensium.com
Fri Jan 31 11:27:46 UTC 2020


Add "select BR2_PACKAGE_HOST_RUSTC" as it is needed.

Signed-off-by: Patrick Havelange <patrick.havelange at essensium.com>
---
 docs/manual/adding-packages-cargo.txt | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/docs/manual/adding-packages-cargo.txt b/docs/manual/adding-packages-cargo.txt
index b83f86e9e6..bb078b6981 100644
--- a/docs/manual/adding-packages-cargo.txt
+++ b/docs/manual/adding-packages-cargo.txt
@@ -18,10 +18,11 @@ 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_TARGET_ARCH_SUPPORTS
-04: 	help
-05: 	  This is a comment that explains what foo is.
-06:
-07: 	  http://foosoftware.org/foo/
+04: 	select BR2_PACKAGE_HOST_RUSTC
+05: 	help
+06: 	  This is a comment that explains what foo is.
+07:
+08: 	  http://foosoftware.org/foo/
 ---------------------------
 
 ==== Cargo-based package's +.mk+ file
-- 
2.17.1



More information about the buildroot mailing list