summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2023-11-10 08:30:59 -0300
committerGitHub <noreply@github.com>2023-11-10 08:30:59 -0300
commite972dee967257db22a8adb593846b20891e640cb (patch)
treef9adb69db3ce095b159e734c8884478fc150a9fe
parent80a6f043d7d716a40054de5d1bfa0ea8ef7c7c67 (diff)
parenta941be9ce102206f22b38453e6f5b1cabd29a676 (diff)
downloadmeta-freescale-e972dee967257db22a8adb593846b20891e640cb.tar.gz
Merge pull request #1690 from YoeDistro/yoe/pu
image_types_fsl.bbclass: Drop use of IMAGE_NAME_SUFFIX
-rw-r--r--classes/image_types_fsl.bbclass14
1 files changed, 7 insertions, 7 deletions
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass
index cdfbb97e3..63a10f303 100644
--- a/classes/image_types_fsl.bbclass
+++ b/classes/image_types_fsl.bbclass
@@ -13,9 +13,9 @@ do_image_uboot_mxsboot_sdcard[depends] += "u-boot-mxsboot-native:do_populate_sys
13 u-boot:do_deploy" 13 u-boot:do_deploy"
14IMAGE_CMD:uboot-mxsboot-sdcard() { 14IMAGE_CMD:uboot-mxsboot-sdcard() {
15 mxsboot sd ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \ 15 mxsboot sd ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \
16 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot-mxsboot-sdcard 16 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.uboot-mxsboot-sdcard
17 ln -sf ${IMAGE_NAME}.rootfs.uboot-mxsboot-sdcard \ 17 ln -sf ${IMAGE_NAME}.uboot-mxsboot-sdcard \
18 ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.rootfs.uboot-mxsboot-sdcard 18 ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.uboot-mxsboot-sdcard
19} 19}
20 20
21# U-Boot mxsboot generation for NAND 21# U-Boot mxsboot generation for NAND
@@ -24,9 +24,9 @@ do_image_uboot_mxsboot_nand[depends] += "u-boot-mxsboot-native:do_populate_sysro
24IMAGE_CMD:uboot-mxsboot-nand() { 24IMAGE_CMD:uboot-mxsboot-nand() {
25 mxsboot ${MXSBOOT_NAND_ARGS} nand \ 25 mxsboot ${MXSBOOT_NAND_ARGS} nand \
26 ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \ 26 ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \
27 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot-mxsboot-nand 27 ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.uboot-mxsboot-nand
28 ln -sf ${IMAGE_NAME}.rootfs.uboot-mxsboot-nand \ 28 ln -sf ${IMAGE_NAME}.uboot-mxsboot-nand \
29 ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.rootfs.uboot-mxsboot-nand 29 ${DEPLOY_DIR_IMAGE}/${IMAGE_LINK_NAME}.uboot-mxsboot-nand
30} 30}
31 31
32# In case we are building for i.MX23 or i.MX28 we need to have the 32# In case we are building for i.MX23 or i.MX28 we need to have the
@@ -40,5 +40,5 @@ do_image_wic[depends] += " \
40IMAGE_CMD:wic:append:mxs-generic-bsp() { 40IMAGE_CMD:wic:append:mxs-generic-bsp() {
41 # Change partition type for mxs processor family 41 # Change partition type for mxs processor family
42 bbnote "Setting partition type to 0x53 as required for mxs' SoC family." 42 bbnote "Setting partition type to 0x53 as required for mxs' SoC family."
43 echo -n S | dd of=$out${IMAGE_NAME_SUFFIX}.wic bs=1 count=1 seek=450 conv=notrunc 43 echo -n S | dd of=$out.wic bs=1 count=1 seek=450 conv=notrunc
44} 44}