blob: a6c14e0ba1b2e37e6912f2685e312a2b96f8316c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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}"
DEFINE = "NO_MACHINE"
DEFINE_mx6 = "MX6"
DEFINE_mx6ull = "MX6ULL"
do_compile() {
${CC} -o bmode_usb bmode_usb.c ${CFLAGS} ${LDFLAGS} -D ${DEFINE}
}
do_install() {
install -d ${D}${bindir}
install bmode_usb ${D}${bindir}
}
|