From 07781056fe81017b4e98724970f0c6723d216e30 Mon Sep 17 00:00:00 2001 From: Aparna M Date: Fri, 13 May 2022 13:08:48 +0530 Subject: [PATCH] ti-tros-firmware: Add DM firmware binary to deploy directory for am62xx-evm The DM firmware binary is required for building uboot binaries for am62xx-evm using toplevel makefile in SDK. Add this file to deploy directory so it can be included in prebuilt-images directory of SDK for am62xx-evm. Signed-off-by: Aparna M Signed-off-by: Ryan Eatmon --- recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb b/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb index 56a74899..0f2ba9af 100644 --- a/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb +++ b/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb @@ -169,6 +169,16 @@ do_install_am62xx() { install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${LEGACY_DM_FW_DIR} } + +do_deploy() { + install -d ${DEPLOYDIR} +} + +do_deploy_am62xx() { + install -d ${DEPLOYDIR} + install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${DEPLOYDIR} +} + # Set up names for the firmwares ALTERNATIVE_${PN}_am65xx = "\ am65x-mcu-r5f0_0-fw \ @@ -357,3 +367,5 @@ INSANE_SKIP_${PN} += "arch" # we don't want to configure and build the source code do_compile[noexec] = "1" do_configure[noexec] = "1" + +addtask deploy after do_install