devmem2: include UPSTREAM_CHECK_COMMITS to fix UNKNOWN_BROKEN status

When performing devtool check-upgrade-status, UNKNOWN_BROKEN status appears.
On the upstream source repository, releases are not identified by tags. So,
UPSTREAM_CHECK_COMMITS is set to 1, to find the latest upstream update.

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Alexandre Truong 2024-07-30 11:34:28 +02:00 committed by Khem Raj
parent fdbe7f7ded
commit d4b1cf3d39
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -5,6 +5,9 @@ LIC_FILES_CHKSUM = "file://devmem2.c;endline=38;md5=a9eb9f3890384519f435aedf9862
SRC_URI = "git://github.com/denix0/devmem2.git;protocol=https;branch=main"
SRCREV = "5b395a946894eb4f4ef5d07c80a50a88573a541e"
# Upstream repo does not tag
UPSTREAM_CHECK_COMMITS = "1"
S = "${WORKDIR}/git"
CFLAGS += "-DFORCE_STRICT_ALIGNMENT"