All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denis@denix.org>
To: afd@ti.com
Cc: Ryan Eatmon <reatmon@ti.com>, meta-ti@lists.yoctoproject.org
Subject: Re: [meta-ti][master/kirkstone][PATCH v2 11/15] ti-rtos-firmware: Do not break the source directory by renaming files
Date: Wed, 22 Feb 2023 14:42:44 -0500	[thread overview]
Message-ID: <20230222194244.GC22689@denix.org> (raw)
In-Reply-To: <20230215193355.9676-12-afd@ti.com>

On Wed, Feb 15, 2023 at 01:33:51PM -0600, Andrew Davis via lists.yoctoproject.org wrote:
> If we rename files in the source directory the next time we need to rebuild
> the original files will be gone and build will fail. Use symlinks instead.
> 
> Signed-off-by: Andrew Davis <afd@ti.com>

Tested-by: Denys Dmytriyenko <denys@konsulko.com>


> ---
>  .../recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb       | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb b/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
> index 4744be84..56071a8c 100644
> --- a/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
> +++ b/meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb
> @@ -121,18 +121,18 @@ do_install:prepend:j721s2-hs-evm() {
>  # Update the am64xx ipc binaries to be consistent with other platforms
>  do_install:prepend:am64xx() {
>          ( cd ${RTOS_IPC_FW_DIR}; \
> -                mv am64-main-r5f0_0-fw ipc_echo_test_mcu1_0_release_strip.xer5f; \
> -                mv am64-main-r5f0_1-fw ipc_echo_test_mcu1_1_release_strip.xer5f; \
> -                mv am64-main-r5f1_0-fw ipc_echo_test_mcu2_0_release_strip.xer5f; \
> -                mv am64-main-r5f1_1-fw ipc_echo_test_mcu2_1_release_strip.xer5f; \
> -                mv am64-mcu-m4f0_0-fw ipc_echo_test_mcu3_0_release_strip.xer5f; \
> +                ln -s am64-main-r5f0_0-fw ipc_echo_test_mcu1_0_release_strip.xer5f; \
> +                ln -s am64-main-r5f0_1-fw ipc_echo_test_mcu1_1_release_strip.xer5f; \
> +                ln -s am64-main-r5f1_0-fw ipc_echo_test_mcu2_0_release_strip.xer5f; \
> +                ln -s am64-main-r5f1_1-fw ipc_echo_test_mcu2_1_release_strip.xer5f; \
> +                ln -s am64-mcu-m4f0_0-fw ipc_echo_test_mcu3_0_release_strip.xer5f; \
>          )
>  }
>  
>  # Update the am62xx ipc binaries to be consistent with other platforms
>  do_install:prepend:am62xx() {
>          ( cd ${RTOS_IPC_FW_DIR}; \
> -                mv am62-mcu-m4f0_0-fw ipc_echo_test_mcu2_0_release_strip.xer5f; \
> +                ln -s am62-mcu-m4f0_0-fw ipc_echo_test_mcu2_0_release_strip.xer5f; \
>          )
>  }
>  
> -- 
> 2.39.1


  reply	other threads:[~2023-02-22 19:43 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-15 19:33 [meta-ti][master/kirkstone][PATCH v2 00/15] ti-rtos-firmware and secdev Andrew Davis
2023-02-15 19:33 ` [meta-ti][master/kirkstone][PATCH v2 01/15] meta-ti-bsp: Add helper class for TI Security Development Tools Andrew Davis
2023-02-22 19:36   ` Denys Dmytriyenko
2023-02-15 19:33 ` [meta-ti][master/kirkstone][PATCH v2 02/15] trusted-firmware-a: Use new ti-secdev class to sign the images Andrew Davis
2023-02-22 19:37   ` Denys Dmytriyenko
2023-02-15 19:33 ` [meta-ti][master/kirkstone][PATCH v2 03/15] optee-os: " Andrew Davis
2023-02-22 19:38   ` Denys Dmytriyenko
2023-02-15 19:33 ` [meta-ti][master/kirkstone][PATCH v2 04/15] u-boot-ti: " Andrew Davis
2023-02-22 19:38   ` Denys Dmytriyenko
2023-02-15 19:33 ` [meta-ti][master/kirkstone][PATCH v2 05/15] ti-rtos-firmware: " Andrew Davis
2023-02-22 19:39   ` Denys Dmytriyenko
2023-02-15 19:33 ` [meta-ti][master/kirkstone][PATCH v2 06/15] ti-sci-fw: " Andrew Davis
2023-02-22 19:39   ` Denys Dmytriyenko
2023-02-15 19:33 ` [meta-ti][master/kirkstone][PATCH v2 07/15] conf: machine: k3: Remove unneeded TI_SECURE_DEV_PKG_K3 assignments Andrew Davis
2023-02-22 19:40   ` Denys Dmytriyenko
2023-02-15 19:33 ` [meta-ti][master/kirkstone][PATCH v2 08/15] ti-k3-secdev: Remove inclusion of ti-paths.inc Andrew Davis
2023-02-22 19:41   ` Denys Dmytriyenko
2023-02-15 19:33 ` [meta-ti][master/kirkstone][PATCH v2 09/15] ti-rtos-firmware: Remove unneeded per-machine TARGET defines Andrew Davis
2023-02-22 19:41   ` Denys Dmytriyenko
2023-02-15 19:33 ` [meta-ti][master/kirkstone][PATCH v2 10/15] ti-rtos-firmware: Fix name for AM64x and AM62x firmware Andrew Davis
2023-02-22 19:42   ` Denys Dmytriyenko
2023-02-15 19:33 ` [meta-ti][master/kirkstone][PATCH v2 11/15] ti-rtos-firmware: Do not break the source directory by renaming files Andrew Davis
2023-02-22 19:42   ` Denys Dmytriyenko [this message]
2023-02-15 19:33 ` [meta-ti][master/kirkstone][PATCH v2 12/15] ti-rtos-firmware: Use defines to set firmware names Andrew Davis
2023-02-22 19:43   ` Denys Dmytriyenko
2023-02-15 19:33 ` [meta-ti][master/kirkstone][PATCH v2 13/15] ti-rtos-firmware: Use a table instead of a list of copy commands Andrew Davis
2023-02-22 19:43   ` Denys Dmytriyenko
2023-02-15 19:33 ` [meta-ti][master/kirkstone][PATCH v2 14/15] ti-rtos-firmware: Fix use of base_libdir with nonarch_base_libdir Andrew Davis
2023-02-22 19:44   ` Denys Dmytriyenko
2023-02-15 19:33 ` [meta-ti][master/kirkstone][PATCH v2 15/15] ti-rtos-firmware: Deploy secure firmware unconditionally Andrew Davis
2023-02-22 19:44   ` Denys Dmytriyenko
2023-02-17  7:09 ` [meta-ti][master/kirkstone][PATCH v2 00/15] ti-rtos-firmware and secdev Denys Dmytriyenko
2023-02-18  4:09   ` Ryan Eatmon
2023-02-21 20:51     ` Denys Dmytriyenko
2023-02-21 21:12       ` Andrew Davis

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=20230222194244.GC22689@denix.org \
    --to=denis@denix.org \
    --cc=afd@ti.com \
    --cc=meta-ti@lists.yoctoproject.org \
    --cc=reatmon@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.