mirror of
https://git.yoctoproject.org/poky
synced 2026-02-22 01:19:41 +01:00
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>
21 lines
417 B
BlitzBasic
21 lines
417 B
BlitzBasic
require rust-target.inc
|
|
require rust-source-${PV}.inc
|
|
require rust-snapshot-${PV}.inc
|
|
|
|
INSANE_SKIP:${PN}:class-native = "already-stripped"
|
|
|
|
do_compile () {
|
|
rust_runx build --stage 2
|
|
}
|
|
|
|
rust_do_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.")
|
|
}
|