[oe] [PATCH 1/2] ti-pru-sw-edma-library: stage needed header

Chase Maupin chasemaupin03 at gmail.com
Tue Dec 21 20:30:05 UTC 2010


* Stage the edma.h header which is needed by other example
  applications that link with this library.
* Bump the PR

Signed-off-by: Chase Maupin <Chase.Maupin at ti.com>
---
 recipes/ti/ti-pru-sw-edma-library_1.00.00.bb |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/recipes/ti/ti-pru-sw-edma-library_1.00.00.bb b/recipes/ti/ti-pru-sw-edma-library_1.00.00.bb
index 128d79d..7571421 100644
--- a/recipes/ti/ti-pru-sw-edma-library_1.00.00.bb
+++ b/recipes/ti/ti-pru-sw-edma-library_1.00.00.bb
@@ -1,7 +1,7 @@
 DESCRIPTION = "eDMA library for use by PRU sw example applications"
 HOMEPAGE = "https://gforge.ti.com/gf/project/pru_sw/"
 LICENSE = "BSD"
-PR = "r1+svnr${SRCPV}"
+PR = "r2+svnr${SRCPV}"
 
 DEPENDS += "virtual/kernel ti-pru-sw-edma-driver"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -18,7 +18,9 @@ do_compile () {
 }
 
 do_install () {
-	install -d ${D}/${libdir}
-	install -m 0755 ${S}/../lib/libedmautils.a ${D}/${libdir}/
+	install -d ${D}${libdir}
+    install -d ${D}${includedir}
+	install -m 0755 ${S}/../lib/libedmautils.a ${D}${libdir}/
+    install -m 0644 ${S}/../include/edma.h ${D}${includedir}/
 }
 
-- 
1.7.0.4





More information about the Openembedded-devel mailing list