Module: meta-ti Branch: krogoth Commit: 878de323983bc56ea97c717be4d55b05a64d0a8b URL: http://arago-project.org/git/meta-ti.git?a=commit;h=878de323983bc56ea97c717be4d55b05a64d0a8b
Author: Justin Sobota <[email protected]> Date: Thu Dec 15 21:54:40 2016 +0000 pruss-lld: Upstream version 1.0.0.5A Signed-off-by: Justin Sobota <[email protected]> Signed-off-by: Denys Dmytriyenko <[email protected]> --- recipes-bsp/pruss-lld/pruss-lld-test_git.bb | 19 +++++++++++++++++++ recipes-bsp/pruss-lld/pruss-lld.inc | 20 ++++++++++++++++++++ recipes-bsp/pruss-lld/pruss-lld_git.bb | 20 ++++++++++++++++++++ 3 files changed, 59 insertions(+), 0 deletions(-) diff --git a/recipes-bsp/pruss-lld/pruss-lld-test_git.bb b/recipes-bsp/pruss-lld/pruss-lld-test_git.bb new file mode 100644 index 0000000..d994ec8 --- /dev/null +++ b/recipes-bsp/pruss-lld/pruss-lld-test_git.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "TI PRUSS low level driver tests" + +DEPENDS="common-csl-ip pruss-lld osal" + +include pruss-lld.inc + +PR = "${INC_PR}.0" + +S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}" + +do_compile () { +# Build the tests + make -f makefile_armv7 tests PDK_INSTALL_PATH=${STAGING_INCDIR} PRUSS_SRC_DIR=${S} +} + +do_install () { +# Install the binary + make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_BIN_BASE_DIR=${D}${bindir} PRUSS_SRC_DIR=${S} +} diff --git a/recipes-bsp/pruss-lld/pruss-lld.inc b/recipes-bsp/pruss-lld/pruss-lld.inc new file mode 100644 index 0000000..52a92bd --- /dev/null +++ b/recipes-bsp/pruss-lld/pruss-lld.inc @@ -0,0 +1,20 @@ +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://pruicss.h;beginline=1;endline=31;md5=315177aa03d58bcd124a6e799e2bd458" + +COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k2g-evm" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +PRUSS_LLD_GIT_URI = "git://git.ti.com/keystone-rtos/pruss-lld.git" +PRUSS_LLD_GIT_PROTOCOL = "git" +PRUSS_LLD_GIT_BRANCH = "master" +PRUSS_LLD_GIT_DESTSUFFIX = "git/ti/drv/pruss" + +# Below commit ID corresponds to "DEV.PRUSS_LLD.01.00.00.05A" +PRUSS_LLD_SRCREV = "7421ea14f163fb3c95c3645fe0add1e05da9d748" + +BRANCH = "${PRUSS_LLD_GIT_BRANCH}" +SRC_URI = "${PRUSS_LLD_GIT_URI};destsuffix=${PRUSS_LLD_GIT_DESTSUFFIX};protocol=${PRUSS_LLD_GIT_PROTOCOL};branch=${BRANCH}" + +SRCREV = "${PRUSS_LLD_SRCREV}" +PV = "01.00.00.05A" +INC_PR = "r0" diff --git a/recipes-bsp/pruss-lld/pruss-lld_git.bb b/recipes-bsp/pruss-lld/pruss-lld_git.bb new file mode 100644 index 0000000..72670f4 --- /dev/null +++ b/recipes-bsp/pruss-lld/pruss-lld_git.bb @@ -0,0 +1,20 @@ +DESCRIPTION = "TI PRUSS low level driver library" + +DEPENDS="common-csl-ip osal" + +include pruss-lld.inc + +PR = "${INC_PR}.1" + +S = "${WORKDIR}/${PRUSS_LLD_GIT_DESTSUFFIX}" + +do_compile () { +# Build the lib + make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR} + make -f makefile_armv7 lib PDK_INSTALL_PATH=${STAGING_INCDIR} +} + +do_install () { +# Install the lib + make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} +} -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
