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
commit c84efd61f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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