From: Hanspeter Portner Date: Fri, 17 Sep 2021 13:28:35 +0000 (+0200) Subject: board/freescale: add support for Image.gz to post-image X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8591dd3e15e4c55ab189cbc1e968a76c4a52424;p=buildroot.git board/freescale: add support for Image.gz to post-image For the i.MX8 often an Image.gz is built. With these changes, if BR2_LINUX_KERNEL_IMAGEGZ=y, the correct Image.gz file is now put into the generated image instead of falling back to the non-existent zImage. Signed-off-by: Hanspeter Portner Signed-off-by: Yann E. MORIN --- diff --git a/board/freescale/common/imx/post-image.sh b/board/freescale/common/imx/post-image.sh index 3bb482debd..d36f82917e 100755 --- a/board/freescale/common/imx/post-image.sh +++ b/board/freescale/common/imx/post-image.sh @@ -25,6 +25,8 @@ linux_image() echo "\"uImage\"" elif grep -Eq "^BR2_LINUX_KERNEL_IMAGE=y$" ${BR2_CONFIG}; then echo "\"Image\"" + elif grep -Eq "^BR2_LINUX_KERNEL_IMAGEGZ=y$" ${BR2_CONFIG}; then + echo "\"Image.gz\"" else echo "\"zImage\"" fi