Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 92467E00860; Wed, 8 Oct 2014 10:47:41 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,RDNS_DYNAMIC autolearn=no version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 1.0 RDNS_DYNAMIC Delivered to internal network by host with * dynamic-looking rDNS Received: from arago-project.org (ec2-184-73-161-183.compute-1.amazonaws.com [184.73.161.183]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 08312E0077F for ; Wed, 8 Oct 2014 10:47:35 -0700 (PDT) Received: by arago-project.org (Postfix, from userid 107) id 3ADC8529DD; Wed, 8 Oct 2014 17:47:34 +0000 (UTC) To: meta-ti@yoctoproject.org Message-Id: <20141008174734.3ADC8529DD@arago-project.org> Date: Wed, 8 Oct 2014 17:47:34 +0000 (UTC) From: git@arago-project.org (Arago Project git) Subject: Sam Nelson : ti-rm: Move from meta-arago to meta-ti X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2014 17:47:41 -0000 Content-Type: text/plain; charset=UTF-8 Module: meta-ti Branch: master Commit: 5171650c1cd2aa7f4d3379657a9cc53899959a47 URL: http://arago-project.org/git/meta-ti.git?a=commit;h=5171650c1cd2aa7f4d3379657a9cc53899959a47 Author: Sam Nelson Date: Wed Oct 8 16:27:28 2014 +0000 ti-rm: Move from meta-arago to meta-ti - Moved recipe from meta-arago based on review comments - Provides resource manager low level driver Signed-off-by: Sam Nelson Signed-off-by: Denys Dmytriyenko --- recipes-bsp/rm-lld/ti-rm_git.bb | 49 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 49 insertions(+), 0 deletions(-) diff --git a/recipes-bsp/rm-lld/ti-rm_git.bb b/recipes-bsp/rm-lld/ti-rm_git.bb new file mode 100644 index 0000000..276c01e --- /dev/null +++ b/recipes-bsp/rm-lld/ti-rm_git.bb @@ -0,0 +1,49 @@ +DESCRIPTION = "TI Resource Manager Low Level Driver" +LICENSE = "TI BSD" +LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b65360e6beb73b6c337800afc" + +BRANCH="master" +SRC_URI = "git://git.ti.com/keystone-rtos/rm-lld.git;destsuffix=git/ti/drv/rm;protocol=git;branch=${BRANCH}" +# Below commit ID corresponds to DEV.RM_LLD.02.01.00.04 +SRCREV = "59e3bf5fca3995dd0f79bbdd1af988d278a2a049" +PR = "r0" +PV = "02.01.00.04" + +COMPATIBLE_MACHINE = "keystone" + +DEPENDS = "ti-ipc" + +PACKAGES =+ "${PN}-test" + +FILES_${PN}-test = "${bindir}/rmDspClientTest_*.out \ + ${bindir}/rmLinuxClientTest_*.out \ + ${bindir}/ti/drv/rm/test/dts_files/*.dtb" + +DEVICELIST = "k2h k2k" + +CHOICELIST = "yes no" + +BASEDIR = "${WORKDIR}/git" +S = "${BASEDIR}/ti/drv/rm" + +do_compile () { +# Now build the lld + make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} RM_SRC_DIR=${S} + for device in ${DEVICELIST} + do + for choice in ${CHOICELIST} + do + make -f makefile_armv7 tests IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} PDK_INSTALL_PATH=${BASEDIR} DEVICE="$device" USEDYNAMIC_LIB="$choice" + done + done +} + +do_install () { + install -d ${D}${includedir}/ti/drv/rm + install -d ${D}${libdir} + install -d ${D}${bindir} + for device in ${DEVICELIST} + do + make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device" + done +}