summaryrefslogtreecommitdiff
path: root/recipes-support/bmode-usb/bmode-usb_1.0.bb
blob: f33f5316d166059b56bb767567852193036afe36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SUMMARY = "Sets i.MX boot mode on next reboot to recovery, aka serial download"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://bmode_usb.c;endline=5;md5=4c9010cb42fb7648a460c35e6b5c685c"

SRC_URI = "file://bmode_usb.c"
S = "${WORKDIR}"

do_compile() {
    ${CC} -o bmode_usb bmode_usb.c ${CFLAGS} ${LDFLAGS}
}

do_install() {
    install -d ${D}${bindir}
    install bmode_usb ${D}${bindir}
}