blob: 4c3436823a2737d22481d8346c2503d1118b1a57 [file] [log] [blame]
Andrew Geisslerfc113ea2023-03-31 09:59:46 -05001SUMMARY = "Reboot the device to a specific mode."
2AUTHOR = "Daniele Debernardi <drebrez@gmail.com>"
3
4LICENSE = "GPL-3.0-or-later"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=84dcc94da3adb52b53ae4fa38fe49e5d"
6
7SRC_URI = "git://gitlab.com/postmarketOS/reboot-mode.git;protocol=http;branch=master"
8SRCREV = "84831b20512abd9033414ca5f5a023f333525335"
9
10S = "${WORKDIR}/git"
11
12do_compile() {
Patrick Williams8e7b46e2023-05-01 14:19:06 -050013 ${CC} ${CFLAGS} ${LDFLAGS} ${S}/reboot-mode.c -o ${B}/reboot-mode
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050014}
15
16do_install() {
Patrick Williams8e7b46e2023-05-01 14:19:06 -050017 install -D -m 0755 ${B}/reboot-mode ${D}${bindir}/reboot-mode
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050018}