mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01: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:
committed by
Richard Purdie
parent
5d12c0a3dc
commit
3e50e45917
@@ -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