From 2d7b30c7548bb73e1d092e08a05249211c7901e3 Mon Sep 17 00:00:00 2001 From: Tom Hochstein Date: Thu, 13 Mar 2025 09:00:35 -0700 Subject: imx-mcore-demos: Fix 7ULP install The demo extension is overridable so the new install behavior needs to use the variable. Fixes #2056. Signed-off-by: Tom Hochstein --- recipes-fsl/mcore-demos/imx-mcore-demos.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes-fsl/mcore-demos/imx-mcore-demos.inc b/recipes-fsl/mcore-demos/imx-mcore-demos.inc index 8bf66617..5f205435 100644 --- a/recipes-fsl/mcore-demos/imx-mcore-demos.inc +++ b/recipes-fsl/mcore-demos/imx-mcore-demos.inc @@ -39,19 +39,19 @@ S = "${WORKDIR}/${SOC}-${MCORE_TYPE}-demo-${PV}" SCR = "SCR-${SOC}-${MCORE_TYPE}-demo.txt" +MCORE_DEMO_FILE_EXTENSION ?= "bin" +MCORE_DEMO_FILE_EXTENSION:mx7ulp-nxp-bsp = "img" + do_install () { install -d ${D}${nonarch_base_libdir}/firmware install -m 0644 ${S}/*.elf ${D}${nonarch_base_libdir}/firmware - install -m 0644 ${S}/*.bin ${D}${nonarch_base_libdir}/firmware + install -m 0644 ${S}/*.${MCORE_DEMO_FILE_EXTENSION} ${D}${nonarch_base_libdir}/firmware } -DEPLOY_FILE_EXT ?= "bin" -DEPLOY_FILE_EXT:mx7ulp-nxp-bsp = "img" - do_deploy () { # Install the demo binaries install -d ${DEPLOYDIR}/mcore-demos - install -m 0644 ${S}/*.${DEPLOY_FILE_EXT} ${DEPLOYDIR}/mcore-demos/ + install -m 0644 ${S}/*.${MCORE_DEMO_FILE_EXTENSION} ${DEPLOYDIR}/mcore-demos/ } addtask deploy after do_install -- cgit v1.2.3-54-g00ecf