summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorSundeep KOKKONDA <sundeep.kokkonda@windriver.com>2023-11-21 18:14:46 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-11-27 22:54:59 +0000
commit3e50e45917831d9da2d86e69fb908a1a78483b62 (patch)
tree1d098f448d107c30b6f45113e545b041e619c047 /meta/recipes-devtools
parent5d12c0a3dc843072a64052c9cd7b1d32585e3d7e (diff)
downloadpoky-3e50e45917831d9da2d86e69fb908a1a78483b62.tar.gz
rust: Split rustdoc into a separate package
The 'rustdoc' is moved to a separate 'rust-rustdoc' package. This is a workaround to test if the main rust binary is reproducible even if rustdoc isn't. (From OE-Core rev: dfed7e63e199009ecca8e2e34f6a823c6e1677e0) Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/rust/rust_1.70.0.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rust/rust_1.70.0.bb b/meta/recipes-devtools/rust/rust_1.70.0.bb
index 16d433910f..a7efd2f7f0 100644
--- a/meta/recipes-devtools/rust/rust_1.70.0.bb
+++ b/meta/recipes-devtools/rust/rust_1.70.0.bb
@@ -232,9 +232,11 @@ do_test_compile () {
232 232
233ALLOW_EMPTY:${PN} = "1" 233ALLOW_EMPTY:${PN} = "1"
234 234
235PACKAGES =+ "${PN}-tools-clippy ${PN}-tools-rustfmt" 235PACKAGES =+ "${PN}-rustdoc ${PN}-tools-clippy ${PN}-tools-rustfmt"
236FILES:${PN}-rustdoc = "${bindir}/rustdoc"
236FILES:${PN}-tools-clippy = "${bindir}/cargo-clippy ${bindir}/clippy-driver" 237FILES:${PN}-tools-clippy = "${bindir}/cargo-clippy ${bindir}/clippy-driver"
237FILES:${PN}-tools-rustfmt = "${bindir}/rustfmt" 238FILES:${PN}-tools-rustfmt = "${bindir}/rustfmt"
239RDEPENDS:${PN}-rustdoc = "${PN}"
238RDEPENDS:${PN}-tools-clippy = "${PN}" 240RDEPENDS:${PN}-tools-clippy = "${PN}"
239RDEPENDS:${PN}-tools-rustfmt = "${PN}" 241RDEPENDS:${PN}-tools-rustfmt = "${PN}"
240 242