From 27a4a4763bc8fe1f01c68060824541028f487488 Mon Sep 17 00:00:00 2001 From: Christian Hewitt Date: Wed, 26 Sep 2018 09:59:01 +0400 Subject: [PATCH] u-boot: only append suffix when creating multiple u-boot variants --- scripts/image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/image b/scripts/image index fb8425f97b..97c4ea537a 100755 --- a/scripts/image +++ b/scripts/image @@ -71,7 +71,7 @@ else IMAGE_NAME="$DISTRONAME-$TARGET_VERSION" fi - if [ -n "$UBOOT_SYSTEM" ]; then + if [ -n "$UBOOT_SYSTEM" ] && [ "$UBOOT_SYSTEM" != "${DEVICE:-$PROJECT}" ]; then IMAGE_NAME="$IMAGE_NAME-$UBOOT_SYSTEM" fi fi