diff options
| -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 8bf66617f..5f2054355 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 |
