summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--meta/lib/oeqa/selftest/cases/reproducible.py2
-rw-r--r--meta/recipes-devtools/rust/rust_1.70.0.bb4
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py b/meta/lib/oeqa/selftest/cases/reproducible.py
index 029b6af331..14ccb0b24d 100644
--- a/meta/lib/oeqa/selftest/cases/reproducible.py
+++ b/meta/lib/oeqa/selftest/cases/reproducible.py
@@ -16,7 +16,7 @@ import os
16import datetime 16import datetime
17 17
18exclude_packages = [ 18exclude_packages = [
19 'rust', 19 'rust-rustdoc',
20 'rust-dbg' 20 'rust-dbg'
21 ] 21 ]
22 22
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