mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-28 19:12:39 +00:00
32 lines
1.1 KiB
BlitzBasic
32 lines
1.1 KiB
BlitzBasic
DESCRIPTION = "Flash helper scripts"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
|
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
|
|
|
inherit_defer native
|
|
|
|
SRC_URI = " \
|
|
file://tegra-flash-helper.sh \
|
|
file://nvflashxmlparse.py \
|
|
file://make-sdcard.sh \
|
|
file://tegra-signimage-helper.sh \
|
|
file://find-jetson-usb.sh \
|
|
file://rewrite-tegraflash-args.py \
|
|
file://initrd-flash.sh \
|
|
"
|
|
|
|
S = "${WORKDIR}/sources"
|
|
UNPACKDIR = "${S}"
|
|
|
|
do_install() {
|
|
install -d ${D}${bindir}/tegra-flash
|
|
install -m 0755 ${S}/tegra-flash-helper.sh ${D}${bindir}/tegra-flash/
|
|
install -m 0755 ${S}/nvflashxmlparse.py ${D}${bindir}/tegra-flash/nvflashxmlparse
|
|
install -m 0755 ${S}/make-sdcard.sh ${D}${bindir}/tegra-flash/make-sdcard
|
|
install -m 0755 ${S}/tegra-signimage-helper.sh ${D}${bindir}/tegra-flash/tegra-signimage-helper
|
|
install -m 0755 ${S}/find-jetson-usb.sh ${D}${bindir}/tegra-flash/find-jetson-usb
|
|
install -m 0755 ${S}/rewrite-tegraflash-args.py ${D}${bindir}/tegra-flash/rewrite-tegraflash-args
|
|
install -m 0755 ${S}/initrd-flash.sh ${D}${bindir}/tegra-flash/initrd-flash
|
|
}
|