blob: aeca23bf2d54476fafde8a31de8ffa4331b30ad6 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001require dfu-util_${PV}.bb
2
3inherit native deploy
4
5DEPENDS = "libusb1-native"
6
7SRC_URI += "file://0001-Revert-Makefile.am-Drop-static-dfu-util.patch"
8
9do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}"
10do_deploy() {
Brad Bishopd7bf8c12018-02-25 22:55:05 -050011 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 Williamsb48b7b42016-08-17 15:04:38 -050014}
15addtask deploy before do_package after do_install