mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
7ebeb6ba4b
* drop commit 0792623dfa8156fb0af3f3949c901665e2df3d04 Author: Stefan `Sec` Zehl <sec@42.org> Date: Wed Jul 29 01:39:11 2015 +0200 Fix/reimplement USBPATH support Using libusb functions to retrieve port and bus numbers. Thanks to Topi Kuutela for reviewing and testing the patch. Also thanks to Timo Poikola and Topi Kuutela for having submitted alternative patches. https://sourceforge.net/p/dfu-util/tickets/6/ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
17 lines
475 B
BlitzBasic
17 lines
475 B
BlitzBasic
require dfu-util_${PV}.bb
|
|
|
|
inherit native deploy
|
|
|
|
DEPENDS = "libusb1-native"
|
|
|
|
SRC_URI += "file://0001-Revert-Makefile.am-Drop-static-dfu-util.patch"
|
|
|
|
do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}"
|
|
do_deploy() {
|
|
install -d ${DEPLOY_DIR_TOOLS}
|
|
install -m 0755 src/dfu-util_static ${DEPLOY_DIR_TOOLS}/dfu-util-${PV}
|
|
rm -f ${DEPLOY_DIR_TOOLS}/dfu-util
|
|
ln -sf ./dfu-util-${PV} ${DEPLOY_DIR_TOOLS}/dfu-util
|
|
}
|
|
addtask deploy before do_package after do_install
|