mirror of
https://git.yoctoproject.org/meta-zephyr
synced 2026-01-29 21:58:41 +01:00
zephyr-kernel-src.inc.jinja: Update script to generate srcrev
Update script to generate correct SRCREV and other info to match poky variable updates. Also use "version" instead of "short_version" for SRC_URI_PATCHES. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
This commit is contained in:
committed by
Lee Chee Yang
parent
9d250a4df2
commit
20fdef3ce3
@@ -13,13 +13,13 @@ SRC_URI_ZEPHYR_{{ project.name | bitbake_var }} ?= "{{ project.url | git_url_to_
|
||||
{%- endfor %}
|
||||
|
||||
SRC_URI_PATCHES ?= "\
|
||||
file://0001-{{ short_version }}-x86-fix-efi-binary-generation-issue-in-cross-compila.patch;patchdir=zephyr \
|
||||
file://0001-v{{ version }}-x86-fix-efi-binary-generation-issue-in-cross-compila.patch;patchdir=zephyr \
|
||||
"
|
||||
|
||||
SRC_URI = "\
|
||||
${SRC_URI_ZEPHYR};branch=${ZEPHYR_BRANCH};name=default;destsuffix=git/zephyr \
|
||||
${SRC_URI_ZEPHYR};branch=${ZEPHYR_BRANCH};name=default;destsuffix=${P}/zephyr \
|
||||
{%- for project in projects %}
|
||||
${SRC_URI_ZEPHYR_{{ project.name | bitbake_var }}};name={{ project.name }};nobranch=1;destsuffix=git/{{ project.path }} \
|
||||
${SRC_URI_ZEPHYR_{{ project.name | bitbake_var }}};name={{ project.name }};nobranch=1;destsuffix=${P}/{{ project.path }} \
|
||||
{%- endfor %}
|
||||
${SRC_URI_PATCHES} \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user