All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Sam Nelson <sam.nelson@ti.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [morty/master][PATCH] ti-ipc-examples: Update with change of directory structure
Date: Mon, 27 Mar 2017 10:56:20 -0400	[thread overview]
Message-ID: <20170327145620.GV29187@edge> (raw)
In-Reply-To: <1490382325-16663-1-git-send-email-sam.nelson@ti.com>

On Fri, Mar 24, 2017 at 03:05:25PM -0400, Sam Nelson wrote:
> Separated Linux host examples into separate package ti-ipc-examples-
> linux and installed into /usr/bin directory.

Thanks. Do you need to pull this new package into the FS separately?


> Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> ---
>  recipes-ti/ipc/ti-ipc-common.inc      |  2 +-
>  recipes-ti/ipc/ti-ipc-examples_git.bb | 25 +++++++++++++++++--------
>  2 files changed, 18 insertions(+), 9 deletions(-)
> 
> diff --git a/recipes-ti/ipc/ti-ipc-common.inc b/recipes-ti/ipc/ti-ipc-common.inc
> index 6aa08c5..c5f28e7 100644
> --- a/recipes-ti/ipc/ti-ipc-common.inc
> +++ b/recipes-ti/ipc/ti-ipc-common.inc
> @@ -1,5 +1,5 @@
>  PV = "3.45.00.00"
> -INC_PR = "r0"
> +INC_PR = "r1"
>  
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
>  
> diff --git a/recipes-ti/ipc/ti-ipc-examples_git.bb b/recipes-ti/ipc/ti-ipc-examples_git.bb
> index 019bffa..40c3bc3 100644
> --- a/recipes-ti/ipc/ti-ipc-examples_git.bb
> +++ b/recipes-ti/ipc/ti-ipc-examples_git.bb
> @@ -12,6 +12,11 @@ INSANE_SKIP_${PN} += "arch"
>  
>  ALLOW_EMPTY_${PN} = "1"
>  
> +PACKAGES =+ "${PN}-linux"
> +
> +INSANE_SKIP_${PN}-linux += "arch"
> +ALLOW_EMPTY_${PN}-linux  = "1"
> +
>  IPC_INSTALL_DIR="${STAGING_DIR_TARGET}/usr/share/ti/ti-ipc-tree"
>  
>  do_compile() {
> @@ -56,31 +61,35 @@ do_install() {
>    cd ${S_ipc-examples}/src
>    IPC_VERSION=`echo ${PV}${RELEASE_SUFFIX} | sed -e 's|\.|_|g'`
>  
> -  install -d ${D}/ipc_${IPC_VERSION}/examples
>    if [  "${PLATFORM}" != "UNKNOWN" ]; then
> +    # Install directory for bios examples
> +    install -d ${D}/ipc_${IPC_VERSION}/examples/bios
> +    # Install directory for linux examples
> +    install -d ${D}${bindir}/ipc/examples
>      oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
> -      HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples"
> +      HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios"
>      oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
> -      HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples"
> +      HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios"
>  
>      oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
>        LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
> -      HOSTOS="linux" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples"
> +      HOSTOS="linux" EXEC_DIR="${D}/${bindir}/ipc/examples"
>  
>      if [ ! -z ${ALT_PLATFORM} ]; then
> -      oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \ 
> -        HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples" \
> +      oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
> +        HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios" \
>          PLATFORM="${ALT_PLATFORM}"
>        oe_runmake -C examples install_rov IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
> -        HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples" \
> +        HOSTOS="bios" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples/bios" \
>          PLATFORM="${ALT_PLATFORM}"
>  
>        oe_runmake -C examples install IPC_INSTALL_DIR="${IPC_INSTALL_DIR}" \
>          LINUX_SYSROOT_DIR="${STAGING_INCDIR}" \
> -        HOSTOS="linux" EXEC_DIR="${D}/ipc_${IPC_VERSION}/examples" \
> +        HOSTOS="linux" EXEC_DIR="${D}/${bindir}/ipc/examples" \
>          PLATFORM="${ALT_PLATFORM}"
>      fi
>    fi
>  }
>  
>  FILES_${PN} += "ipc_*"
> +FILES_${PN}-linux += "${bindir}/*"
> -- 
> 1.9.1
> 
> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti


      reply	other threads:[~2017-03-27 14:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-24 19:05 [morty/master][PATCH] ti-ipc-examples: Update with change of directory structure Sam Nelson
2017-03-27 14:56 ` Denys Dmytriyenko [this message]

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=20170327145620.GV29187@edge \
    --to=denys@ti.com \
    --cc=meta-ti@yoctoproject.org \
    --cc=sam.nelson@ti.com \
    /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.