mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 17:59:59 +00:00
c41eeac0eb
Upstream repo has not made releases/tags after 1.0.0 so, use UPSTREAM_CHECK_COMMITS to detect upstream updates. Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Reviewed-by: Alexandre Truong <alexandre.truong@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
21 lines
571 B
BlitzBasic
21 lines
571 B
BlitzBasic
SUMMARY = "Reboot the device to a specific mode."
|
|
|
|
LICENSE = "GPL-3.0-or-later"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=84dcc94da3adb52b53ae4fa38fe49e5d"
|
|
|
|
SRC_URI = "git://gitlab.com/postmarketOS/reboot-mode.git;protocol=http;branch=master"
|
|
SRCREV = "84831b20512abd9033414ca5f5a023f333525335"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
# Upstream repo has not made releases/tags after 1.0.0
|
|
UPSTREAM_CHECK_COMMITS = "1"
|
|
|
|
do_compile() {
|
|
${CC} ${CFLAGS} ${LDFLAGS} ${S}/reboot-mode.c -o ${B}/reboot-mode
|
|
}
|
|
|
|
do_install() {
|
|
install -D -m 0755 ${B}/reboot-mode ${D}${bindir}/reboot-mode
|
|
}
|