diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2017-10-06 17:33:51 -0300 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2017-10-06 17:40:26 -0300 |
| commit | 5f228f8007ea759a36e0f859ce291e5350f09eb8 (patch) | |
| tree | c3d25c78a93b5d9f886ca76e8d2f2e97432da405 | |
| parent | c25d75c89757fcb16bd2235cdbe05ceac7582d20 (diff) | |
| download | meta-freescale-5f228f8007ea759a36e0f859ce291e5350f09eb8.tar.gz | |
classes/image_types_fsl.bbclass: Remove linux.sb support
There is no machine which makes use of this image type and it is
untested since long time ago. Drop it.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| -rw-r--r-- | classes/image_types_fsl.bbclass | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass index dadbd734a..4709af952 100644 --- a/classes/image_types_fsl.bbclass +++ b/classes/image_types_fsl.bbclass | |||
| @@ -11,33 +11,6 @@ UBOOT_SUFFIX_SDCARD ?= "${UBOOT_SUFFIX}" | |||
| 11 | # | 11 | # |
| 12 | MXSBOOT_NAND_ARGS ?= "" | 12 | MXSBOOT_NAND_ARGS ?= "" |
| 13 | 13 | ||
| 14 | # IMX Bootlets Linux bootstream | ||
| 15 | do_image_linux.sb[depends] += "elftosb-native:do_populate_sysroot \ | ||
| 16 | imx-bootlets:do_deploy \ | ||
| 17 | virtual/kernel:do_deploy" | ||
| 18 | IMAGE_LINK_NAME_linux.sb = "" | ||
| 19 | IMAGE_CMD_linux.sb () { | ||
| 20 | kernel_bin="`readlink ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin`" | ||
| 21 | kernel_dtb="`readlink ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.dtb || true`" | ||
| 22 | linux_bd_file=imx-bootlets-linux.bd-${MACHINE} | ||
| 23 | if [ `basename $kernel_bin .bin` = `basename $kernel_dtb .dtb` ]; then | ||
| 24 | # When using device tree we build a zImage with the dtb | ||
| 25 | # appended on the end of the image | ||
| 26 | linux_bd_file=imx-bootlets-linux.bd-dtb-${MACHINE} | ||
| 27 | cat $kernel_bin $kernel_dtb \ | ||
| 28 | > $kernel_bin-dtb | ||
| 29 | rm -f ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin-dtb | ||
| 30 | ln -s $kernel_bin-dtb ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin-dtb | ||
| 31 | fi | ||
| 32 | |||
| 33 | # Ensure the file is generated | ||
| 34 | rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.linux.sb | ||
| 35 | (cd ${DEPLOY_DIR_IMAGE}; elftosb -z -c $linux_bd_file -o ${IMAGE_NAME}.linux.sb) | ||
| 36 | |||
| 37 | # Remove the appended file as it is only used here | ||
| 38 | rm -f ${DEPLOY_DIR_IMAGE}/$kernel_bin-dtb | ||
| 39 | } | ||
| 40 | |||
| 41 | # IMX Bootlets barebox bootstream | 14 | # IMX Bootlets barebox bootstream |
| 42 | do_image_barebox-mxsboot-sdcard[depends] += "elftosb-native:do_populate_sysroot \ | 15 | do_image_barebox-mxsboot-sdcard[depends] += "elftosb-native:do_populate_sysroot \ |
| 43 | u-boot-mxsboot-native:do_populate_sysroot \ | 16 | u-boot-mxsboot-native:do_populate_sysroot \ |
