All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Jacob Stiffler <j-stiffler@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [PATCH 2/2] opencl-monitor: Move firmware to allow for other firmwares
Date: Tue, 13 Oct 2015 13:24:29 -0400	[thread overview]
Message-ID: <20151013172428.GJ28164@edge> (raw)
In-Reply-To: <1444401783-24716-2-git-send-email-j-stiffler@ti.com>

Can update-alternatives help here?


On Fri, Oct 09, 2015 at 10:43:03AM -0400, Jacob Stiffler wrote:
> * Add symlink to make opencl-monitor firmware the default.
> 
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
>  meta-arago-extras/recipes-ti/ocl/opencl-monitor_git.bb | 16 +++++++++++++++-
>  1 file changed, 15 insertions(+), 1 deletion(-)
> 
> diff --git a/meta-arago-extras/recipes-ti/ocl/opencl-monitor_git.bb b/meta-arago-extras/recipes-ti/ocl/opencl-monitor_git.bb
> index 336d068..9ff4b5b 100644
> --- a/meta-arago-extras/recipes-ti/ocl/opencl-monitor_git.bb
> +++ b/meta-arago-extras/recipes-ti/ocl/opencl-monitor_git.bb
> @@ -5,7 +5,7 @@ LICENSE = "BSD"
>  include ocl.inc
>  require recipes-ti/includes/ti-paths.inc
>  
> -PR = "${INC_PR}.0"
> +PR = "${INC_PR}.1"
>  
>  inherit cmake
>  
> @@ -47,6 +47,20 @@ export GDB_SERVER_DIR = "${STAGING_DIR_TARGET}/usr/share/ti/gdbc6x"
>  export X86_LLVM_DIR = "${STAGING_DIR_NATIVE}/usr"
>  export XDCPATH = "${S};${IPC_DIR}/packages;${BIOS_DIR}/packages;${EDMA3LLD_DIR}/packages;${FC_DIR}/packages;${XDAIS_DIR}/packages"
>  
> +do_install_append() {
> +    mv ${D}/lib/firmware/dra7-dsp1-fw.xe66 \
> +       ${D}/lib/firmware/dra7-dsp1-fw.xe66.ocl
> +
> +    mv ${D}/lib/firmware/dra7-dsp2-fw.xe66 \
> +       ${D}/lib/firmware/dra7-dsp2-fw.xe66.ocl
> +
> +    ln -s dra7-dsp1-fw.xe66.ocl \
> +          ${D}/lib/firmware/dra7-dsp1-fw.xe66
> +
> +    ln -s dra7-dsp2-fw.xe66.ocl \
> +          ${D}/lib/firmware/dra7-dsp2-fw.xe66
> +}
> +
>  MONITOR_FIRMWARE = ""
>  MONITOR_FIRMWARE_dra7xx = "${base_libdir}/firmware/*"
>  
> -- 
> 1.9.1
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


      reply	other threads:[~2015-10-13 17:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-09 14:43 [PATCH 1/2] ocl: Bump version to 1.1.6 Jacob Stiffler
2015-10-09 14:43 ` [PATCH 2/2] opencl-monitor: Move firmware to allow for other firmwares Jacob Stiffler
2015-10-13 17:24   ` 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=20151013172428.GJ28164@edge \
    --to=denys@ti.com \
    --cc=j-stiffler@ti.com \
    --cc=meta-arago@arago-project.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.