[meta-ti] [PATCH] nativesdk-dspcoreparse: added recipe for nativesdk-dspcoreparse

Denys Dmytriyenko denys at ti.com
Thu Aug 31 09:37:49 PDT 2017


On Wed, Aug 30, 2017 at 04:42:41PM -0500, Ivan Pang wrote:
> Signed-off-by: Ivan Pang <i-pang at ti.com>
> ---
>  .../multiprocmgr/nativesdk-dspcoreparse_git.bb     | 46 ++++++++++++++++++++++
>  1 file changed, 46 insertions(+)
>  create mode 100644 recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb
> 
> diff --git a/recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb b/recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb
> new file mode 100644
> index 0000000..63cf937
> --- /dev/null
> +++ b/recipes-ti/multiprocmgr/nativesdk-dspcoreparse_git.bb
> @@ -0,0 +1,46 @@
> +SUMMARY = "DSP coredump parse utility"
> +DESCRIPTION = "The DSP coredump parse (dspcoreparse) utility is a part\
> +of the Multi-Proc Manager (MPM). This utility is used to provide\
> +information upon a DSP core crash or unexpected runtime termination."
> +
> +require recipes-ti/includes/ti-paths.inc
> +include recipes-ti/multiprocmgr/multiprocmgr.inc
> +
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://dspcoreparse.c;beginline=1;endline=31;md5=7c271e4a6bd961947bce20c7fe5f86fe"
> +BRANCH = "master"
> +
> +SRC_URI = "git://git.ti.com/sdk-tools/dspcoreparse.git;protocol=git;branch=${BRANCH}"
> +
> +# Below commit ID corresponds to "DSPCOREPARSE.01.00.00.00A"
> +SRCREV = "b692b85a33052a5c736cd538eedf178d45bd4e4e"
> +
> +S = "${WORKDIR}/git"
> +
> +do_compile () {
> +  # Not building anything and using checked in binary file for now
> +  echo "Nothing to compile"
> +}
> +
> +do_install () {
> +    CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
> +    install -d ${D}${MPM_INSTALL_DIR_RECIPE}/utils/dspcoreparse
> +    cp ${CP_ARGS} ${S}/* -d ${D}${MPM_INSTALL_DIR_RECIPE}/utils/dspcoreparse/
> +}
> +
> +PACKAGES =+ "${PN}-src"

^^^ Nope


> +FILES_${PN}-dev = "${MPM_INSTALL_DIR_RECIPE}/utils"

Isn't it a binary? Why do you put it into ${PN}-dev?


> +FILES_${PN}-src = "${S}/*"

^^^ Can't do that.


> +FILES_${PN}-dbg = "${MPM_INSTALL_DIR_RECIPE}/utils/dspcoreparse/.debug"
> +
> +INHIBIT_PACKAGE_STRIP = "1"
> +INHIBIT_SYSROOT_STRIP = "1"
> +INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
> +
> +INSANE_SKIP_${PN}-dev = "arch file-rdeps"
> +INSANE_SKIP_${PN}-src = "arch file-rdeps"
> +INSANE_SKIP_${PN} = "arch file-rdeps"
> +INSANE_SKIP_${PN}-dbg = "arch file-rdeps"
> +
> +ALLOW_EMPTY_${PN} = "1"
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


More information about the meta-ti mailing list