-
Notifications
You must be signed in to change notification settings - Fork 88
feat: add support for yocto whinlatter
#232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
7f29ebb
339c03d
7f12d05
363f58a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,4 +20,6 @@ LAYERSERIES_COMPAT_rust-bin-layer = " \ | |
| mickledore \ | ||
| nanbield \ | ||
| scarthgap \ | ||
| walnascar \ | ||
| whinlatter \ | ||
| " | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -6,6 +6,16 @@ SECTION = "devel" | |||||
| inherit cross | ||||||
| inherit rust_bin-common | ||||||
|
|
||||||
| python () { | ||||||
| layerseries = d.getVar("LAYERSERIES_COMPAT_core") | ||||||
|
||||||
| layerseries = d.getVar("LAYERSERIES_COMPAT_core") | |
| layerseries = d.getVar("LAYERSERIES_CORENAMES") |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -6,6 +6,16 @@ SECTION = "devel" | |||||
| inherit cross | ||||||
| inherit rust_bin-common | ||||||
|
|
||||||
| python () { | ||||||
| layerseries = d.getVar("LAYERSERIES_COMPAT_core") | ||||||
|
||||||
| layerseries = d.getVar("LAYERSERIES_COMPAT_core") | |
| layerseries = d.getVar("LAYERSERIES_CORENAMES") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The check for layer series compatibility appears incorrect. The variable LAYERSERIES_COMPAT_core typically contains a space-separated list of all compatible layer series, not the current active series. To detect the current Yocto version, use the LAYERSERIES_CORENAMES variable instead, which contains the actual active layer series name. The check should be:
layerseries = d.getVar("LAYERSERIES_CORENAMES")followed byif layerseries in ["walnascar", "whinlatter"]: