diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2025-03-13 09:00:35 -0700 |
---|---|---|
committer | Tom Hochstein <tom.hochstein@nxp.com> | 2025-03-13 09:00:35 -0700 |
commit | f02539d37670364e5ffcefab5d57c5cae9208e7f (patch) | |
tree | 92493a9b42c75c24b20e816b1fe9d88b3f176ac4 | |
parent | fd77debd2025a3dfbb953707414843280480be5a (diff) | |
download | meta-freescale-f02539d37670364e5ffcefab5d57c5cae9208e7f.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 |