Skip to content

Commit

Permalink
Merge pull request #3021 from chewitt/uboot-suffix
Browse files Browse the repository at this point in the history
u-boot: only append suffix when creating multiple u-boot variants
  • Loading branch information
CvH authored Oct 6, 2018
2 parents afb451d + 27a4a47 commit c84efd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/image
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c84efd6

Please sign in to comment.