mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-29 11:32:30 +00:00
* 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>
23 lines
532 B
BlitzBasic
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}"
|