ti-pru-sw-edma-library: stage needed header
PATCH 1/2 ti-pru-sw-edma-library: stage needed header
* 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 <[email protected]>
--- recipes/ti/ti-pru-sw-edma-library_1.00.00.bb | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-)
recipes/ti/ti-pru-sw-edma-library_1.00.00.bb +5 -3
@@ -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}/ }
Signature · 1 line
1.7.0.4
PATCH 2/2 ti-pru-sw-examples: remove unneeded settings
* Remove unneeded settings in the do_compile function. Variables were being set to point to non-existent locations in the ${D} directory. Since the files requires were already staged by other packages these variables do not need to be set.
* Bump the PR
Signed-off-by Chase Maupin <[email protected]>
--- recipes/ti/ti-pru-sw-examples_1.00.00.bb | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-)
recipes/ti/ti-pru-sw-examples_1.00.00.bb +2 -5
@@ -3,7 +3,7 @@ HOMEPAGE = "https://gforge.ti.com/gf/project/pru_sw/" LICENSE = "BSD" DEPENDS += "ti-pru-sw-app-loader ti-pru-sw-edma-library" RDEPENDS += "ti-pru-sw-edma-driver kernel-module-uio-pru" -PR = "r1+svnr${SRCPV}" +PR = "r2+svnr${SRCPV}" COMPATIBLE_MACHINE = "omapl138"
@@ -13,11 +13,8 @@ SRCREV = "20" S = "${WORKDIR}/trunk" do_compile () { - make -C ${S}/example_apps LIBDIR_APP_LOADER="${D}${libdir}" \ + make -C ${S}/example_apps \ CC=${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}gcc \ - LIBDIR_EDMA_LOADER="${D}${libdir}}" \ - INCDIR_APP_LOADER="${D}${includedir}" \ - INCDIR_EDMA_DRIVER="${D}${includedir}" \ BINDIR_APPLICATIONS="${S}/example_apps/bin" \ BINDIR_FW="${S}/example_apps/bin" \ UTILS_DIR="${S}/utils"
Signature · 1 line
1.7.0.4