Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | require dfu-util_${PV}.bb |
| 2 | |
| 3 | inherit native deploy |
| 4 | |
| 5 | DEPENDS = "libusb1-native" |
| 6 | |
| 7 | SRC_URI += "file://0001-Revert-Makefile.am-Drop-static-dfu-util.patch" |
| 8 | |
| 9 | do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}" |
| 10 | do_deploy() { |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 11 | install -m 0755 src/dfu-util_static ${DEPLOYDIR}/dfu-util-${PV} |
| 12 | rm -f ${DEPLOYDIR}/dfu-util |
| 13 | ln -sf ./dfu-util-${PV} ${DEPLOYDIR}/dfu-util |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 14 | } |
| 15 | addtask deploy before do_package after do_install |