mirror of
https://git.yoctoproject.org/meta-zephyr
synced 2026-09-13 12:49:32 +02:00
zephyr-core/zephyr-kernel: Add ZEPHYR namespace to SRC_URI variables
Certain SRC_URI_* variables may collide with other recipes, e.g. SRC_URI_TRUSTED_FIRMWARE_A. Namespace these variables under SRC_URI_ZEPHYR so that the SRC_URIs of Zephyr modules can be independently tweaked from local.conf or the environment. 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
174c3187a7
commit
1312cb2a19
@@ -9,7 +9,7 @@ SRCREV_{{ project.name }} = "{{ project.revision }}"
|
||||
{% endfor %}
|
||||
SRC_URI_ZEPHYR ?= "git://github.com/zephyrproject-rtos/zephyr.git;protocol=https"
|
||||
{%- for project in projects %}
|
||||
SRC_URI_{{ project.name | bitbake_var }} ?= "{{ project.url | git_url_to_bitbake }}"
|
||||
SRC_URI_ZEPHYR_{{ project.name | bitbake_var }} ?= "{{ project.url | git_url_to_bitbake }}"
|
||||
{%- endfor %}
|
||||
|
||||
SRC_URI_PATCHES ?= "\
|
||||
@@ -20,7 +20,7 @@ SRC_URI_PATCHES ?= "\
|
||||
SRC_URI = "\
|
||||
${SRC_URI_ZEPHYR};branch=${ZEPHYR_BRANCH};name=default;destsuffix=git/zephyr \
|
||||
{%- for project in projects %}
|
||||
${SRC_URI_{{ 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=git/{{ project.path }} \
|
||||
{%- endfor %}
|
||||
${SRC_URI_PATCHES} \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user