mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
rust: Skip target recipe since it doesn't work
The target rust recipe is known not to work. Add a SkipRecipe entry for that so world builds don't include something known to be broken and hence give users a sensible message if they do try and build it rather than a build failure. (From OE-Core rev: 16c77c82ff6635b0180690ea117e2eff8fd63afb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -11,3 +11,10 @@ do_compile () {
|
|||||||
rust_do_install() {
|
rust_do_install() {
|
||||||
rust_runx install
|
rust_runx install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
python () {
|
||||||
|
pn = d.getVar('PN')
|
||||||
|
|
||||||
|
if not pn.endswith("-native"):
|
||||||
|
raise bb.parse.SkipRecipe("Rust recipe doesn't work for target builds at this time. Fixes welcome.")
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user