mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-12 17:20:13 +00:00
f6b3a82e1e
We should output the compiled executables into ${B} and install them
from it as well. Currently we put the build objects in the source
directory. While at it: don't assume we're already in the source
directory and instead prepend the source file with ${S}.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
19 lines
536 B
BlitzBasic
19 lines
536 B
BlitzBasic
SUMMARY = "Reboot the device to a specific mode."
|
|
AUTHOR = "Daniele Debernardi <drebrez@gmail.com>"
|
|
|
|
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"
|
|
|
|
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
|
|
}
|