Skip to content

Commit

Permalink
Add Kirkstone and Mickledore specific notes
Browse files Browse the repository at this point in the history
  • Loading branch information
tronical committed Oct 10, 2023
1 parent 5d05772 commit 41a8887
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,29 @@ backend, set them like this:
```
PACKAGECONFIG:append:pn-slint-cpp = " backend-linuxkms renderer-femtovg "
PACKAGECONFIG:remove:pn-slint-cpp = " renderer-skia "
```
```

## Yocto Release Specific Notes

### Kirkstone

For compiling against Kirkstone, you need to upgrade Rust to match the minimum
required Rust version required by the Slint release you're compiling.

This means that you may have to either backport the rust recipes or add [meta-rust](https://github.com/meta-rust/meta-rust)
to your project.

### Mickledore

For compiling against Kirkstone, you need to upgrade Rust to match the minimum
required Rust version required by the Slint release you're compiling.

Unfortunately [meta-rust](https://github.com/meta-rust/meta-rust) does not work with
Mickledore at the moment because bitbake's `classes` directory was split up into
`classes-global`, `classes-recipe`, and `classes`. The rust recipes in openembedded-core
are in `classes-recipe` and are thus always found before the rust recipes in `meta-rust`
that are supposed to override them, as they are there located in `classes`.

A workaround is to cherry-pick commits [39e05f9b0fdc3f76f8b80a12989f78614bc9ea5c](https://github.com/openembedded/openembedded-core/commit/39e05f9b0fdc3f76f8b80a12989f78614bc9ea5c)
and [d1af583c290eb0cff5e36363f7531832a863a1a8](https://github.com/openembedded/openembedded-core/commit/d1af583c290eb0cff5e36363f7531832a863a1a8)
into your local openembedded-core layer.

0 comments on commit 41a8887

Please sign in to comment.