mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-06 22:24:40 +02:00
17 lines
407 B
BlitzBasic
17 lines
407 B
BlitzBasic
require dfu-util_${PV}.bb
|
|
|
|
inherit native deploy
|
|
do_deploy[sstate-outputdirs] = "${DEPLOY_DIR_TOOLS}"
|
|
|
|
DEPENDS = "libusb-compat usbpath-native"
|
|
|
|
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
|