aboutsummaryrefslogtreecommitdiff
path: root/board/freescale/common/imx/post-image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/common/imx/post-image.sh')
-rwxr-xr-xboard/freescale/common/imx/post-image.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/freescale/common/imx/post-image.sh b/board/freescale/common/imx/post-image.sh
index 70d2c9c600..264c8a4bcb 100755
--- a/board/freescale/common/imx/post-image.sh
+++ b/board/freescale/common/imx/post-image.sh
@@ -32,7 +32,9 @@ linux_image()
genimage_type()
{
- if grep -Eq "^BR2_TARGET_UBOOT_SPL=y$" ${BR2_CONFIG}; then
+ if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y$" ${BR2_CONFIG}; then
+ echo "genimage.cfg.template_imx8"
+ elif grep -Eq "^BR2_TARGET_UBOOT_SPL=y$" ${BR2_CONFIG}; then
echo "genimage.cfg.template_spl"
else
echo "genimage.cfg.template"