All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] udma: Add recipe for user space library for udma kernel driver
@ 2015-01-30  2:59 Sam Nelson
  2015-01-30 18:47 ` Denys Dmytriyenko
  0 siblings, 1 reply; 2+ messages in thread
From: Sam Nelson @ 2015-01-30  2:59 UTC (permalink / raw)
  To: meta-ti

- Provides zero copy access from user-space to packet dma channels
  via udma kernel driver

Signed-off-by: Sam Nelson <sam.nelson@ti.com>

---
Changes from previous version of patch
- Added direct install of libudma.so.1.0.0
---
---
 recipes-ti/udma/udma_git.bb |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 recipes-ti/udma/udma_git.bb

diff --git a/recipes-ti/udma/udma_git.bb b/recipes-ti/udma/udma_git.bb
new file mode 100644
index 0000000..0374d37
--- /dev/null
+++ b/recipes-ti/udma/udma_git.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "Provides zero copy access from user-space to packet dma channels via udma kernel driver"
+LICENSE = "BSD-3-Clause"
+
+COMPATIBLE_MACHINE = "keystone"
+LIC_FILES_CHKSUM = "file://include/udma.h;startline=1;endline=39;md5=ba3c7f91f970afe073b759ced61d0f27"
+
+BRANCH = "master"
+SRC_URI = "git://git.ti.com/keystone-linux/udma.git;protocol=git;branch=${BRANCH}"
+S = "${WORKDIR}/git"
+# Commit corresponds to UDMA.01.00.00.00
+SRCREV = "53d09fb0bc98c41c5eb43623097e363c497d6fd8"
+
+PACKAGES =+ "${PN}-test"
+
+FILES_${PN}-test = "${bindir}/udma_test"
+
+do_install_append() {
+	install -d ${D}${bindir}/
+	install -d ${D}${libdir}/
+	install -d ${D}${includedir}/
+	install -c -m 755 ${S}/udma_test ${D}${bindir}/
+	install -c -m 755 ${S}/libudma.a ${D}${libdir}/
+	install -c -m 755 ${S}/libudma.so ${D}${libdir}/libudma.so.1.0.0
+	cd ${D}${libdir}/
+	ln -sf libudma.so.1.0.0 libudma.so.1
+	ln -sf libudma.so.1.0.0 libudma.so
+	install -c -m 755 ${S}/include/* ${D}${includedir}/
+}
-- 
1.7.9.5



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

* Re: [PATCH v2] udma: Add recipe for user space library for udma kernel driver
  2015-01-30  2:59 [PATCH v2] udma: Add recipe for user space library for udma kernel driver Sam Nelson
@ 2015-01-30 18:47 ` Denys Dmytriyenko
  0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2015-01-30 18:47 UTC (permalink / raw)
  To: Sam Nelson; +Cc: meta-ti

Ack

On Thu, Jan 29, 2015 at 09:59:26PM -0500, Sam Nelson wrote:
> - Provides zero copy access from user-space to packet dma channels
>   via udma kernel driver
> 
> Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> 
> ---
> Changes from previous version of patch
> - Added direct install of libudma.so.1.0.0
> ---
> ---
>  recipes-ti/udma/udma_git.bb |   28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
>  create mode 100644 recipes-ti/udma/udma_git.bb
> 
> diff --git a/recipes-ti/udma/udma_git.bb b/recipes-ti/udma/udma_git.bb
> new file mode 100644
> index 0000000..0374d37
> --- /dev/null
> +++ b/recipes-ti/udma/udma_git.bb
> @@ -0,0 +1,28 @@
> +DESCRIPTION = "Provides zero copy access from user-space to packet dma channels via udma kernel driver"
> +LICENSE = "BSD-3-Clause"
> +
> +COMPATIBLE_MACHINE = "keystone"
> +LIC_FILES_CHKSUM = "file://include/udma.h;startline=1;endline=39;md5=ba3c7f91f970afe073b759ced61d0f27"
> +
> +BRANCH = "master"
> +SRC_URI = "git://git.ti.com/keystone-linux/udma.git;protocol=git;branch=${BRANCH}"
> +S = "${WORKDIR}/git"
> +# Commit corresponds to UDMA.01.00.00.00
> +SRCREV = "53d09fb0bc98c41c5eb43623097e363c497d6fd8"
> +
> +PACKAGES =+ "${PN}-test"
> +
> +FILES_${PN}-test = "${bindir}/udma_test"
> +
> +do_install_append() {
> +	install -d ${D}${bindir}/
> +	install -d ${D}${libdir}/
> +	install -d ${D}${includedir}/
> +	install -c -m 755 ${S}/udma_test ${D}${bindir}/
> +	install -c -m 755 ${S}/libudma.a ${D}${libdir}/
> +	install -c -m 755 ${S}/libudma.so ${D}${libdir}/libudma.so.1.0.0
> +	cd ${D}${libdir}/
> +	ln -sf libudma.so.1.0.0 libudma.so.1
> +	ln -sf libudma.so.1.0.0 libudma.so
> +	install -c -m 755 ${S}/include/* ${D}${includedir}/
> +}
> -- 
> 1.7.9.5
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


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

end of thread, other threads:[~2015-01-30 18:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-30  2:59 [PATCH v2] udma: Add recipe for user space library for udma kernel driver Sam Nelson
2015-01-30 18:47 ` 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.