mirror of
https://git.yoctoproject.org/meta-zephyr
synced 2026-01-29 21:58:41 +01:00
zephyr-core/scripts: Resolve West revisions to SHAs
The West manifest in Zephyr 3.3 contains a tag (instead of a SHA) for zcbor [1]. OE standard practice is to always specifiy revisions using SHAs, so in the Jinja template, use the new resolve_revision filter to resolve any tags. [1] https://github.com/zephyrproject-rtos/zephyr/pull/51219#discussion_r998123145 Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
This commit is contained in:
committed by
Naveen Saini
parent
0a05d27d14
commit
81babac06d
@@ -5,7 +5,7 @@ SRCREV_FORMAT = "default"
|
||||
|
||||
SRCREV_default = "{{ ('v' ~ version) | resolve_revision(zephyr_url) }}"
|
||||
{% for project in projects -%}
|
||||
SRCREV_{{ project.name }} = "{{ project.revision }}"
|
||||
SRCREV_{{ project.name }} = "{{ project.revision | resolve_revision(project.url) }}"
|
||||
{% endfor %}
|
||||
SRC_URI_ZEPHYR ?= "{{ zephyr_url | git_url_to_bitbake }}"
|
||||
{%- for project in projects %}
|
||||
|
||||
Reference in New Issue
Block a user