diff options
Diffstat (limited to 'recipes-support/bmode-usb/bmode-usb_1.0.bb')
-rw-r--r-- | recipes-support/bmode-usb/bmode-usb_1.0.bb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-support/bmode-usb/bmode-usb_1.0.bb b/recipes-support/bmode-usb/bmode-usb_1.0.bb new file mode 100644 index 0000000..f33f531 --- /dev/null +++ b/recipes-support/bmode-usb/bmode-usb_1.0.bb @@ -0,0 +1,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} +} |