All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Ivan Pang <i-pang@ti.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [PATCH] nativesdk-dspcoreparse: added recipe for nativesdk-dspcoreparse
Date: Thu, 31 Aug 2017 12:37:49 -0400	[thread overview]
Message-ID: <20170831163749.GY8304@edge> (raw)
In-Reply-To: <1504129361-28557-1-git-send-email-i-pang@ti.com>

On Wed, Aug 30, 2017 at 04:42:41PM -0500, Ivan Pang wrote:
> Signed-off-by: Ivan Pang <i-pang@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


  reply	other threads:[~2017-08-31 16:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-30 21:42 [PATCH] nativesdk-dspcoreparse: added recipe for nativesdk-dspcoreparse Ivan Pang
2017-08-31 16:37 ` Denys Dmytriyenko [this message]
2017-09-26 18:02   ` Denys Dmytriyenko
2017-09-26 19:19     ` Pang, Ivan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170831163749.GY8304@edge \
    --to=denys@ti.com \
    --cc=i-pang@ti.com \
    --cc=meta-ti@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.