summaryrefslogtreecommitdiffstats
path: root/recipes-fsl
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2025-03-13 09:00:35 -0700
committerTom Hochstein <tom.hochstein@nxp.com>2025-03-13 09:00:35 -0700
commitf02539d37670364e5ffcefab5d57c5cae9208e7f (patch)
tree92493a9b42c75c24b20e816b1fe9d88b3f176ac4 /recipes-fsl
parentfd77debd2025a3dfbb953707414843280480be5a (diff)
downloadmeta-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>
Diffstat (limited to 'recipes-fsl')
-rw-r--r--recipes-fsl/mcore-demos/imx-mcore-demos.inc10
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
40SCR = "SCR-${SOC}-${MCORE_TYPE}-demo.txt" 40SCR = "SCR-${SOC}-${MCORE_TYPE}-demo.txt"
41 41
42MCORE_DEMO_FILE_EXTENSION ?= "bin"
43MCORE_DEMO_FILE_EXTENSION:mx7ulp-nxp-bsp = "img"
44
42do_install () { 45do_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
48DEPLOY_FILE_EXT ?= "bin"
49DEPLOY_FILE_EXT:mx7ulp-nxp-bsp = "img"
50
51do_deploy () { 51do_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
57addtask deploy after do_install 57addtask deploy after do_install