Files
meta-tegra/recipes-core/initrdscripts/tegra-flash-reboot_1.0.bb
Matt Madison 614c2510a9 meta: update all recipes for the UNPACKDIR transition
* No more 'S = "${WORKDIR}"', which is not permitted
* All ${WORKDIR} references for local files updated to ${UNPACKDIR}
* Custom do_unpack for the recipes that are in the public_sources
  archive in the BSP adjusted for the new unpacking approach
* Some SRC_URIs updated with 'destsuffix=' parameters where needed

Signed-off-by: Matt Madison <matt@madison.systems>
2024-05-28 06:53:54 -07:00

23 lines
532 B
BlitzBasic

DESCRIPTION = "Utility to force reboot into recovery mode"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "file://reboot-recovery.c"
COMPATIBLE_MACHINE = "(tegra)"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
B = "${WORKDIR}/build"
do_compile() {
$CC $CFLAGS $LDFLAGS -o ${B}/reboot-recovery ${S}/reboot-recovery.c
}
do_install() {
install -d ${D}${bindir}
install -m 0755 ${B}/reboot-recovery ${D}${bindir}/
}
PACKAGE_ARCH = "${TEGRA_PKGARCH}"