[meta-ti] [PATCH 1/3] ti-rm: Move from meta-arago to meta-ti
Denys Dmytriyenko
denys at ti.com
Tue Oct 7 14:40:47 PDT 2014
On Tue, Oct 07, 2014 at 05:31:27PM -0400, Sam Nelson wrote:
> -Moved recipe to meta-arago based on review comments
^^ from meta-arago?
> (from http://arago-project.org/git/?p=meta-arago.git;a=blob;f=meta-arago-extras/recipes-bsp/ti-rm/ti-rm_git.bb;h=38ec0ada5330977a5e19928e02060c9857b1f8d0;hb=HEAD)
Do you want the link above? It's not really necessary, but I can go either
way.
> - Provides resource manager low level driver
>
> Signed-off-by: Sam Nelson <sam.nelson at ti.com>
> ---
> recipes-bsp/rm-lld/ti-rm_git.bb | 49 +++++++++++++++++++++++++++++++++++++++
> 1 file changed, 49 insertions(+)
> create mode 100644 recipes-bsp/rm-lld/ti-rm_git.bb
>
> 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
> +}
> --
> 1.7.9.5
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
More information about the meta-ti
mailing list