mirror of
https://git.yoctoproject.org/poky
synced 2026-10-17 05:37:02 +00:00
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>
This commit is contained in:
1 parent
5d12c0a3dc
commit
3e50e45917
2 files changed
+4
-2
No files matched your search
@@ -16,7 +16,7 @@ import os
|
||||
import datetime
|
||||
|
||||
exclude_packages = [
|
||||
'rust',
|
||||
'rust-rustdoc',
|
||||
'rust-dbg'
|
||||
]
|
||||
|
||||
|
||||
@@ -232,9 +232,11 @@ do_test_compile () {
|
||||
|
||||
ALLOW_EMPTY:${PN} = "1"
|
||||
|
||||
PACKAGES =+ "${PN}-tools-clippy ${PN}-tools-rustfmt"
|
||||
PACKAGES =+ "${PN}-rustdoc ${PN}-tools-clippy ${PN}-tools-rustfmt"
|
||||
FILES:${PN}-rustdoc = "${bindir}/rustdoc"
|
||||
FILES:${PN}-tools-clippy = "${bindir}/cargo-clippy ${bindir}/clippy-driver"
|
||||
FILES:${PN}-tools-rustfmt = "${bindir}/rustfmt"
|
||||
RDEPENDS:${PN}-rustdoc = "${PN}"
|
||||
RDEPENDS:${PN}-tools-clippy = "${PN}"
|
||||
RDEPENDS:${PN}-tools-rustfmt = "${PN}"
|
||||
|
||||
|
||||
Reference in new issue
Block a user