diff options
author | Randy MacLeod <randy.macleod@windriver.com> | 2021-02-24 20:48:22 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-26 22:09:43 +0100 |
commit | 284f0b11a5d2f030c78c66adf01c0fcdc809ede1 (patch) | |
tree | 3635c4aa89ad8cc28e0674fe474833a7bea30c18 | |
parent | 3550bfe387d92ccd4ec16ab407bcf8f7cd849663 (diff) | |
download | poky-284f0b11a5d2f030c78c66adf01c0fcdc809ede1.tar.gz |
cargo/rust/rustfmt: exclude from world
cargo, rust, and rustfmt can't be built for the targets yet
so exclude them from world builds.
(From OE-Core rev: 3ade1015b5bbd6aac9dd9974a6a5712958a5f5ed)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/cargo/cargo.inc | 1 | ||||
-rw-r--r-- | meta/recipes-example/rustfmt/rustfmt_1.4.2.bb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/cargo/cargo.inc b/meta/recipes-devtools/cargo/cargo.inc index 32ccf0b7ae..58aed254ff 100644 --- a/meta/recipes-devtools/cargo/cargo.inc +++ b/meta/recipes-devtools/cargo/cargo.inc | |||
@@ -14,6 +14,7 @@ LIC_FILES_CHKSUM = " \ | |||
14 | 14 | ||
15 | S = "${RUSTSRC}/src/tools/cargo" | 15 | S = "${RUSTSRC}/src/tools/cargo" |
16 | CARGO_VENDORING_DIRECTORY = "${RUSTSRC}/vendor" | 16 | CARGO_VENDORING_DIRECTORY = "${RUSTSRC}/vendor" |
17 | EXCLUDE_FROM_WORLD = "1" | ||
17 | 18 | ||
18 | inherit cargo | 19 | inherit cargo |
19 | 20 | ||
diff --git a/meta/recipes-example/rustfmt/rustfmt_1.4.2.bb b/meta/recipes-example/rustfmt/rustfmt_1.4.2.bb index ecced49049..b7deb4097c 100644 --- a/meta/recipes-example/rustfmt/rustfmt_1.4.2.bb +++ b/meta/recipes-example/rustfmt/rustfmt_1.4.2.bb | |||
@@ -11,7 +11,7 @@ SRC_URI += "git://github.com/rust-lang/rustfmt/;protocol=https;nobranch=1" | |||
11 | SRCREV = "aeb3496f31a0dfa90fc511520d2023634e885260" | 11 | SRCREV = "aeb3496f31a0dfa90fc511520d2023634e885260" |
12 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
13 | CARGO_SRC_DIR = "" | 13 | CARGO_SRC_DIR = "" |
14 | 14 | EXCLUDE_FROM_WORLD = "1" | |
15 | 15 | ||
16 | # please note if you have entries that do not begin with crate:// | 16 | # please note if you have entries that do not begin with crate:// |
17 | # you must change them to how that package can be fetched | 17 | # you must change them to how that package can be fetched |