diff mbox series

[meta-zephyr,scarthgap,v4,12/13] zephyr-kernel: Add rpmsg multi services recipe

Message ID 20250811194646.3408854-13-sandeep.gundlupet-raju@amd.com
State New
Headers show
Series Update for scarthgap release | expand

Commit Message

Sandeep Gundlupet Raju Aug. 11, 2025, 7:46 p.m. UTC
Add zephyr-openamp-rpmsg-mulit-services recipe to build out of tree
openamp-system-reference example applications.

Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
---
 .../zephyr-openamp-rpmsg-multi-srv.bb         | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb

Comments

Gyorgy Sarvari Aug. 12, 2025, 8:43 a.m. UTC | #1
On 8/11/25 21:46, Sandeep Gundlupet Raju via lists.yoctoproject.org wrote:
> Add zephyr-openamp-rpmsg-mulit-services recipe to build out of tree
> openamp-system-reference example applications.
>
> Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
> ---
>  .../zephyr-openamp-rpmsg-multi-srv.bb         | 23 +++++++++++++++++++
>  1 file changed, 23 insertions(+)
>  create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb
>
> diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb
> new file mode 100644
> index 0000000..51152e5
> --- /dev/null
> +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb
> @@ -0,0 +1,23 @@
> +SUMMARY = "Open AMP rpmsg mulit services"
> +DESCRIPTION = "Open AMP rpmsg mulit services"

Typo in summary and description: mulit vs multi

> +
> +inherit zephyr-sample
> +
> +SRC_URI_ZEPHYR_OPEN_AMP_SYS_REF ?= "git:///github.com/OpenAMP/openamp-system-reference;protocol=https"

Typo in src_uri: there is an extra slash after the "git://" protocol.

> +
> +BRANCH ?= "v2024.05"
> +BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
> +
> +SRC_URI:append = " \
> +    ${SRC_URI_ZEPHYR_OPEN_AMP_SYS_REF};name=open-amp-sys-ref;${BRANCHARG};destsuffix=git/open-amp-sys-ref \
> +    "
> +
> +SRCREV_open-amp-sys-ref = "d78315763fbacba8a74552d0ad570bd01c42ccf9"
> +
> +ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/../open-amp-sys-ref/examples/zephyr/rpmsg_multi_services"
> +
> +ZEPHYR_MAKE_OUTPUT = "rpmsg_multi_services.elf"
> +
> +EXTRA_OECMAKE += " \
> +    -DCONF_FILE="prj.conf" \
> +    "
Sandeep Gundlupet Raju Aug. 12, 2025, 1:53 p.m. UTC | #2
On 8/12/2025 2:43 AM, Gyorgy Sarvari via lists.yoctoproject.org wrote:
> On 8/11/25 21:46, Sandeep Gundlupet Raju via lists.yoctoproject.org wrote:
>> Add zephyr-openamp-rpmsg-mulit-services recipe to build out of tree
>> openamp-system-reference example applications.
>>
>> Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>
>> ---
>>   .../zephyr-openamp-rpmsg-multi-srv.bb         | 23 +++++++++++++++++++
>>   1 file changed, 23 insertions(+)
>>   create mode 100644 meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb
>>
>> diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb
>> new file mode 100644
>> index 0000000..51152e5
>> --- /dev/null
>> +++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb
>> @@ -0,0 +1,23 @@
>> +SUMMARY = "Open AMP rpmsg mulit services"
>> +DESCRIPTION = "Open AMP rpmsg mulit services"
> Typo in summary and description: mulit vs multi
[Sandeep]: Good catch I will get it fixed in next version of patch.
>
>> +
>> +inherit zephyr-sample
>> +
>> +SRC_URI_ZEPHYR_OPEN_AMP_SYS_REF ?= "git:///github.com/OpenAMP/openamp-system-reference;protocol=https"
> Typo in src_uri: there is an extra slash after the "git://" protocol.
>
>> +
>> +BRANCH ?= "v2024.05"
>> +BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
>> +
>> +SRC_URI:append = " \
>> +    ${SRC_URI_ZEPHYR_OPEN_AMP_SYS_REF};name=open-amp-sys-ref;${BRANCHARG};destsuffix=git/open-amp-sys-ref \
>> +    "
>> +
>> +SRCREV_open-amp-sys-ref = "d78315763fbacba8a74552d0ad570bd01c42ccf9"
>> +
>> +ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/../open-amp-sys-ref/examples/zephyr/rpmsg_multi_services"
>> +
>> +ZEPHYR_MAKE_OUTPUT = "rpmsg_multi_services.elf"
>> +
>> +EXTRA_OECMAKE += " \
>> +    -DCONF_FILE="prj.conf" \
>> +    "
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#1958): https://lists.yoctoproject.org/g/yocto-patches/message/1958
> Mute This Topic: https://lists.yoctoproject.org/mt/114654181/3619217
> Group Owner: yocto-patches+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/14411013/3619217/657730681/xyzzy [sandeep.gundlupet-raju@amd.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
diff mbox series

Patch

diff --git a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb
new file mode 100644
index 0000000..51152e5
--- /dev/null
+++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-openamp-rpmsg-multi-srv.bb
@@ -0,0 +1,23 @@ 
+SUMMARY = "Open AMP rpmsg mulit services"
+DESCRIPTION = "Open AMP rpmsg mulit services"
+
+inherit zephyr-sample
+
+SRC_URI_ZEPHYR_OPEN_AMP_SYS_REF ?= "git:///github.com/OpenAMP/openamp-system-reference;protocol=https"
+
+BRANCH ?= "v2024.05"
+BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
+
+SRC_URI:append = " \
+    ${SRC_URI_ZEPHYR_OPEN_AMP_SYS_REF};name=open-amp-sys-ref;${BRANCHARG};destsuffix=git/open-amp-sys-ref \
+    "
+
+SRCREV_open-amp-sys-ref = "d78315763fbacba8a74552d0ad570bd01c42ccf9"
+
+ZEPHYR_SRC_DIR = "${ZEPHYR_BASE}/../open-amp-sys-ref/examples/zephyr/rpmsg_multi_services"
+
+ZEPHYR_MAKE_OUTPUT = "rpmsg_multi_services.elf"
+
+EXTRA_OECMAKE += " \
+    -DCONF_FILE="prj.conf" \
+    "