All of lore.kernel.org
 help / color / mirror / Atom feed
* [dunfell/master PATCH] ipc: ti-rpmsg-char: Add initial recipes
@ 2020-10-21 13:56 Suman Anna
  2020-10-21 15:22 ` Dan Murphy
  2020-10-21 20:49 ` Denys Dmytriyenko
  0 siblings, 2 replies; 7+ messages in thread
From: Suman Anna @ 2020-10-21 13:56 UTC (permalink / raw)
  To: Denys Dmytriyenko, Dan Murphy; +Cc: meta-ti, Suman Anna, Gowtham Tammana

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.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
---
 recipes-ti/ipc/ti-rpmsg-char-examples_git.bb | 12 ++++++++++++
 recipes-ti/ipc/ti-rpmsg-char.inc             | 19 +++++++++++++++++++
 recipes-ti/ipc/ti-rpmsg-char_git.bb          | 11 +++++++++++
 3 files changed, 42 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

diff --git a/recipes-ti/ipc/ti-rpmsg-char-examples_git.bb b/recipes-ti/ipc/ti-rpmsg-char-examples_git.bb
new file mode 100644
index 000000000000..1d86e95526cc
--- /dev/null
+++ b/recipes-ti/ipc/ti-rpmsg-char-examples_git.bb
@@ -0,0 +1,12 @@
+DESCRIPTION = "TI RPMsg Char Sample Applications and Tests"
+
+require ti-rpmsg-char.inc
+
+DEPENDS = "ti-rpmsg-char"
+RDEPENDS_${PN} = "ti-rpmsg-char"
+
+inherit autotools pkgconfig
+
+EXTRA_OEMAKE = "-C ${B}/examples"
+
+PR = "r0"
diff --git a/recipes-ti/ipc/ti-rpmsg-char.inc b/recipes-ti/ipc/ti-rpmsg-char.inc
new file mode 100644
index 000000000000..454deea674b3
--- /dev/null
+++ b/recipes-ti/ipc/ti-rpmsg-char.inc
@@ -0,0 +1,19 @@
+DESCRIPTION = "TI RPMsg Char Utility Library"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://${S}/src/rpmsg_char.c;beginline=1;endline=31;md5=71987db43a2159cff5ea00505c6fce58"
+
+TI_RPMSG_CHAR_GIT_URI = "git://git.ti.com/rpmsg/ti-rpmsg-char.git"
+TI_RPMSG_CHAR_GIT_PROTOCOL = "git"
+TI_RPMSG_CHAR_GIT_BRANCH = "master"
+
+# Initial 0.1.0 release
+TI_RPMSG_CHAR_SRCREV = "9be402c2bf4053900b6b9a8092fbb42e7e303108"
+
+BRANCH = "${TI_RPMSG_CHAR_GIT_BRANCH}"
+SRC_URI = "${TI_RPMSG_CHAR_GIT_URI};protocol=${TI_RPMSG_CHAR_GIT_PROTOCOL};branch=${BRANCH};name=ti-rpmsg-char"
+SRCREV = "${TI_RPMSG_CHAR_SRCREV}"
+
+PV = "0.1.0+git${SRCPV}"
+
+S = "${WORKDIR}/git"
diff --git a/recipes-ti/ipc/ti-rpmsg-char_git.bb b/recipes-ti/ipc/ti-rpmsg-char_git.bb
new file mode 100644
index 000000000000..c132a390f301
--- /dev/null
+++ b/recipes-ti/ipc/ti-rpmsg-char_git.bb
@@ -0,0 +1,11 @@
+DESCRIPTION = "TI RPMsg Char Utility Library"
+
+require ti-rpmsg-char.inc
+
+DEPENDS += "virtual/kernel"
+
+inherit autotools pkgconfig
+
+do_compile[depends] += "virtual/kernel:do_shared_workdir"
+
+PR = "r0"
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-10-21 23:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-21 13:56 [dunfell/master PATCH] ipc: ti-rpmsg-char: Add initial recipes Suman Anna
2020-10-21 15:22 ` Dan Murphy
2020-10-21 17:46   ` Suman Anna
2020-10-21 17:46     ` Dan Murphy
2020-10-21 20:49 ` Denys Dmytriyenko
2020-10-21 22:09   ` Suman Anna
2020-10-21 23:24     ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.