diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2025-03-13 09:00:35 -0700 |
---|---|---|
committer | Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br> | 2025-03-31 17:06:06 -0300 |
commit | 2d7b30c7548bb73e1d092e08a05249211c7901e3 (patch) | |
tree | 7f4af474abb6cd73a87312ce1f78531452bfe3c4 | |
parent | 07d2c4cedaa939690bef06dba5a11879385e9e33 (diff) | |
download | meta-freescale-2d7b30c7548bb73e1d092e08a05249211c7901e3.tar.gz |
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 <tom.hochstein@nxp.com>
-rw-r--r-- | recipes-fsl/mcore-demos/imx-mcore-demos.inc | 10 |
1 files 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}" | |||
39 | 39 | ||
40 | SCR = "SCR-${SOC}-${MCORE_TYPE}-demo.txt" | 40 | SCR = "SCR-${SOC}-${MCORE_TYPE}-demo.txt" |
41 | 41 | ||
42 | MCORE_DEMO_FILE_EXTENSION ?= "bin" | ||
43 | MCORE_DEMO_FILE_EXTENSION:mx7ulp-nxp-bsp = "img" | ||
44 | |||
42 | do_install () { | 45 | do_install () { |
43 | install -d ${D}${nonarch_base_libdir}/firmware | 46 | install -d ${D}${nonarch_base_libdir}/firmware |
44 | install -m 0644 ${S}/*.elf ${D}${nonarch_base_libdir}/firmware | 47 | install -m 0644 ${S}/*.elf ${D}${nonarch_base_libdir}/firmware |
45 | install -m 0644 ${S}/*.bin ${D}${nonarch_base_libdir}/firmware | 48 | install -m 0644 ${S}/*.${MCORE_DEMO_FILE_EXTENSION} ${D}${nonarch_base_libdir}/firmware |
46 | } | 49 | } |
47 | 50 | ||
48 | DEPLOY_FILE_EXT ?= "bin" | ||
49 | DEPLOY_FILE_EXT:mx7ulp-nxp-bsp = "img" | ||
50 | |||
51 | do_deploy () { | 51 | do_deploy () { |
52 | # Install the demo binaries | 52 | # Install the demo binaries |
53 | install -d ${DEPLOYDIR}/mcore-demos | 53 | install -d ${DEPLOYDIR}/mcore-demos |
54 | install -m 0644 ${S}/*.${DEPLOY_FILE_EXT} ${DEPLOYDIR}/mcore-demos/ | 54 | install -m 0644 ${S}/*.${MCORE_DEMO_FILE_EXTENSION} ${DEPLOYDIR}/mcore-demos/ |
55 | } | 55 | } |
56 | 56 | ||
57 | addtask deploy after do_install | 57 | addtask deploy after do_install |