diff mbox series

[meta-ti,master/kirkstone,2/2] ti-dm-dw: Preserve structure of the deployed ti-dm-fw binaries

Message ID 20231004063430.703304-3-a-limaye@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series Deploy sysfw and dm binaries | expand

Commit Message

Limaye, Aniket Oct. 4, 2023, 6:34 a.m. UTC
Preserve the directory structure of the deployed dm firmware so that one
can directly specify the deploy directory for binman based u-boot build.

Additionally, this makes it easier to preserve the same structure inside
the prebuilt-images directory of the tisdk-core-bundle for the same reason.

Signed-off-by: Aniket Limaye <a-limaye@ti.com>
---
 meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Denys Dmytriyenko Oct. 5, 2023, 8:24 p.m. UTC | #1
Small typo in the Subject - ti-dm-dw


On Wed, Oct 04, 2023 at 12:04:30PM +0530, Aniket Limaye via lists.yoctoproject.org wrote:
> Preserve the directory structure of the deployed dm firmware so that one
> can directly specify the deploy directory for binman based u-boot build.
> 
> Additionally, this makes it easier to preserve the same structure inside
> the prebuilt-images directory of the tisdk-core-bundle for the same reason.
> 
> Signed-off-by: Aniket Limaye <a-limaye@ti.com>
> ---
>  meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb b/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb
> index f635565d..49638ee9 100644
> --- a/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb
> +++ b/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb
> @@ -67,11 +67,11 @@ do_install() {
>  
>  do_deploy() {
>      # DM Firmware is needed for rebuilding U-Boot
> -    install -d ${DEPLOYDIR}
> +    install -d ${DEPLOYDIR}/${DM_FW_DIR}
>      for FW_NAME in ${DM_FW_LIST}
>      do
> -        install -m 0644 ${S}/${DM_FW_DIR}/${FW_NAME}        ${DEPLOYDIR}/
> -        install -m 0644 ${S}/${DM_FW_DIR}/${FW_NAME}.signed ${DEPLOYDIR}/
> +        install -m 0644 ${S}/${DM_FW_DIR}/${FW_NAME}        ${DEPLOYDIR}/${DM_FW_DIR}
> +        install -m 0644 ${S}/${DM_FW_DIR}/${FW_NAME}.signed ${DEPLOYDIR}/${DM_FW_DIR}
>      done
>  }
>  
> -- 
> 2.34.1
diff mbox series

Patch

diff --git a/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb b/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb
index f635565d..49638ee9 100644
--- a/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb
+++ b/meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb
@@ -67,11 +67,11 @@  do_install() {
 
 do_deploy() {
     # DM Firmware is needed for rebuilding U-Boot
-    install -d ${DEPLOYDIR}
+    install -d ${DEPLOYDIR}/${DM_FW_DIR}
     for FW_NAME in ${DM_FW_LIST}
     do
-        install -m 0644 ${S}/${DM_FW_DIR}/${FW_NAME}        ${DEPLOYDIR}/
-        install -m 0644 ${S}/${DM_FW_DIR}/${FW_NAME}.signed ${DEPLOYDIR}/
+        install -m 0644 ${S}/${DM_FW_DIR}/${FW_NAME}        ${DEPLOYDIR}/${DM_FW_DIR}
+        install -m 0644 ${S}/${DM_FW_DIR}/${FW_NAME}.signed ${DEPLOYDIR}/${DM_FW_DIR}
     done
 }