Merge pull request #3021 from chewitt/uboot-suffix

u-boot: only append suffix when creating multiple u-boot variants
This commit is contained in:
CvH
2018-10-06 16:02:04 +02:00
committed by GitHub

View File

@@ -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