Skip to contentSkip to conversation

ipc: ti-rpmsg-char: Add initial recipes

PATCH In review Suman Anna 3 participants 3 messages Oct 22, 2020 – Oct 24, 2020

lore
Share & tools
lore

Suman Anna

author
#0 lore raw

PATCH v2 1/1 ipc: ti-rpmsg-char: Add initial recipes

Add the initial recipes for building the ti-rpmsg-char package. The library and examples are built using two separate recipes in ti-rpmsg-char_git.bb and ti-rpmsg-char-examples_git.bb.

---
v2: Addressed review comments from Denys
- Dropped the DEPENDS and do_compile depends from ti-rpmsg-char_git.bb
- Dropped the RDEPENDS from ti-rpmsg-char-examples_git.bb
- Eliminated the TI_RPMSG_CHAR_GIT_xxx variables and redirection
- Replaced DESCRIPTION with SUMMARY

 recipes-ti/ipc/ti-rpmsg-char-examples_git.bb | 11 +++++++++++
 recipes-ti/ipc/ti-rpmsg-char.inc             | 15 +++++++++++++++
 recipes-ti/ipc/ti-rpmsg-char_git.bb          |  7 +++++++
 3 files changed, 33 insertions(+)
 create mode 100644 recipes-ti/ipc/ti-rpmsg-char-examples_git.bb
 create mode 100644 recipes-ti/ipc/ti-rpmsg-char.inc
 create mode 100644 recipes-ti/ipc/ti-rpmsg-char_git.bb
recipes-ti/ipc/ti-rpmsg-char-examples_git.bb new file +11 -0
new file mode 100644
index 000000000000..142e5bf07ad7
@@ -0,0 +1,11 @@
+SUMMARY = "TI RPMsg Char Sample Applications and Tests"
+
+require ti-rpmsg-char.inc
+
+DEPENDS = "ti-rpmsg-char"
+
+inherit autotools pkgconfig
+
+EXTRA_OEMAKE = "-C ${B}/examples"
+
+PR = "r0"
recipes-ti/ipc/ti-rpmsg-char.inc new file +15 -0
new file mode 100644
index 000000000000..b41e68eba0f9
@@ -0,0 +1,15 @@
+SUMMARY = "TI RPMsg Char Utility Library"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://${S}/src/rpmsg_char.c;beginline=1;endline=31;md5=71987db43a2159cff5ea00505c6fce58"
+
+PROTOCOL = "git"
+BRANCH = "master"
+SRC_URI = "git://git.ti.com/rpmsg/ti-rpmsg-char.git;protocol=${PROTOCOL};branch=${BRANCH};"
+
+# Initial 0.1.0 release
+SRCREV = "9be402c2bf4053900b6b9a8092fbb42e7e303108"
+
+PV = "0.1.0+git${SRCPV}"
+
+S = "${WORKDIR}/git"
recipes-ti/ipc/ti-rpmsg-char_git.bb new file +7 -0
new file mode 100644
index 000000000000..63711a3b35dd
@@ -0,0 +1,7 @@
+SUMMARY = "TI RPMsg Char Utility Library"
+
+require ti-rpmsg-char.inc
+
+inherit autotools pkgconfig
+
+PR = "r0"
Signature · 1 line
2.28.0
#1 lore raw

Suman

Quoted 65 lines · Suman Anna

Add the initial recipes for building the ti-rpmsg-char package. The library and examples are built using two separate recipes in ti-rpmsg-char_git.bb and ti-rpmsg-char-examples_git.bb.

---
v2: Addressed review comments from Denys
- Dropped the DEPENDS and do_compile depends from ti-rpmsg-char_git.bb
- Dropped the RDEPENDS from ti-rpmsg-char-examples_git.bb
- Eliminated the TI_RPMSG_CHAR_GIT_xxx variables and redirection
- Replaced DESCRIPTION with SUMMARY

  recipes-ti/ipc/ti-rpmsg-char-examples_git.bb | 11 +++++++++++
  recipes-ti/ipc/ti-rpmsg-char.inc             | 15 +++++++++++++++
  recipes-ti/ipc/ti-rpmsg-char_git.bb          |  7 +++++++
  3 files changed, 33 insertions(+)

create mode 100644 recipes-ti/ipc/ti-rpmsg-char-examples_git.bb create mode 100644 recipes-ti/ipc/ti-rpmsg-char.inc create mode 100644 recipes-ti/ipc/ti-rpmsg-char_git.bb

recipes-ti/ipc/ti-rpmsg-char-examples_git.bb new file +11 -0
new file mode 100644
index 000000000000..142e5bf07ad7
@@ -0,0 +1,11 @@
+SUMMARY = "TI RPMsg Char Sample Applications and Tests"
+
+require ti-rpmsg-char.inc
+
+DEPENDS = "ti-rpmsg-char"
+
+inherit autotools pkgconfig
+
+EXTRA_OEMAKE = "-C ${B}/examples"
+
+PR = "r0"
recipes-ti/ipc/ti-rpmsg-char.inc new file +15 -0
new file mode 100644
index 000000000000..b41e68eba0f9
@@ -0,0 +1,15 @@
+SUMMARY = "TI RPMsg Char Utility Library"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://${S}/src/rpmsg_char.c;beginline=1;endline=31;md5=71987db43a2159cff5ea00505c6fce58"
+
+PROTOCOL = "git"
+BRANCH = "master"
+SRC_URI = "git://git.ti.com/rpmsg/ti-rpmsg-char.git;protocol=${PROTOCOL};branch=${BRANCH};"
+
+# Initial 0.1.0 release
+SRCREV = "9be402c2bf4053900b6b9a8092fbb42e7e303108"
+
+PV = "0.1.0+git${SRCPV}"
+
+S = "${WORKDIR}/git"
recipes-ti/ipc/ti-rpmsg-char_git.bb new file +0 -0
new file mode 100644
index 000000000000..63711a3b35dd

recipes-ti/ipc/ti-rpmsg-char_git.bb line 7

Quoted 7 lines
recipes-ti/ipc/ti-rpmsg-char_git.bb new file +7 -0
@@ -0,0 +1,7 @@
+SUMMARY = "TI RPMsg Char Utility Library"
+
+require ti-rpmsg-char.inc
+
+inherit autotools pkgconfig
+
+PR = "r0"

This has been applied

Dan

#2 lore raw
In reply to Suman Anna

This fails a build time QA check. See

http://errors.yoctoproject.org/Errors/Build/111395/

Please look into this.

Quoted 79 lines · Suman Anna via lists.yoctoproject.org

Add the initial recipes for building the ti-rpmsg-char package. The library and examples are built using two separate recipes in ti-rpmsg-char_git.bb and ti-rpmsg-char-examples_git.bb.

---
v2: Addressed review comments from Denys
- Dropped the DEPENDS and do_compile depends from ti-rpmsg-char_git.bb
- Dropped the RDEPENDS from ti-rpmsg-char-examples_git.bb
- Eliminated the TI_RPMSG_CHAR_GIT_xxx variables and redirection
- Replaced DESCRIPTION with SUMMARY

 recipes-ti/ipc/ti-rpmsg-char-examples_git.bb | 11 +++++++++++
 recipes-ti/ipc/ti-rpmsg-char.inc             | 15 +++++++++++++++
 recipes-ti/ipc/ti-rpmsg-char_git.bb          |  7 +++++++
 3 files changed, 33 insertions(+)
 create mode 100644 recipes-ti/ipc/ti-rpmsg-char-examples_git.bb
 create mode 100644 recipes-ti/ipc/ti-rpmsg-char.inc
 create mode 100644 recipes-ti/ipc/ti-rpmsg-char_git.bb
recipes-ti/ipc/ti-rpmsg-char-examples_git.bb new file +11 -0
new file mode 100644
index 000000000000..142e5bf07ad7
@@ -0,0 +1,11 @@
+SUMMARY = "TI RPMsg Char Sample Applications and Tests"
+
+require ti-rpmsg-char.inc
+
+DEPENDS = "ti-rpmsg-char"
+
+inherit autotools pkgconfig
+
+EXTRA_OEMAKE = "-C ${B}/examples"
+
+PR = "r0"
recipes-ti/ipc/ti-rpmsg-char.inc new file +15 -0
new file mode 100644
index 000000000000..b41e68eba0f9
@@ -0,0 +1,15 @@
+SUMMARY = "TI RPMsg Char Utility Library"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://${S}/src/rpmsg_char.c;beginline=1;endline=31;md5=71987db43a2159cff5ea00505c6fce58"
+
+PROTOCOL = "git"
+BRANCH = "master"
+SRC_URI = "git://git.ti.com/rpmsg/ti-rpmsg-char.git;protocol=${PROTOCOL};branch=${BRANCH};"
+
+# Initial 0.1.0 release
+SRCREV = "9be402c2bf4053900b6b9a8092fbb42e7e303108"
+
+PV = "0.1.0+git${SRCPV}"
+
+S = "${WORKDIR}/git"
recipes-ti/ipc/ti-rpmsg-char_git.bb new file +7 -1
new file mode 100644
index 000000000000..63711a3b35dd
@@ -0,0 +1,7 @@
+SUMMARY = "TI RPMsg Char Utility Library"
+
+require ti-rpmsg-char.inc
+
+inherit autotools pkgconfig
+
+PR = "r0"
--

2.28.0