Files
meta-openembedded/meta-oe/recipes-support/devmem2/devmem2_2.0.bb
T
Alexandre Truong d4b1cf3d39 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>
2024-08-09 14:25:07 -07:00

23 lines
585 B
BlitzBasic

SUMMARY = "Simple program to read/write from/to any location in memory"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://devmem2.c;endline=38;md5=a9eb9f3890384519f435aedf986297cf"
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"
do_compile() {
${CC} -o devmem2 devmem2.c ${CFLAGS} ${LDFLAGS}
}
do_install() {
install -d ${D}${bindir}
install devmem2 ${D}${bindir}
}