diff options
Diffstat (limited to 'external/meta-openembedded/meta-oe/recipes-support/dfu-util/dfu-util-native_0.9.bb')
-rw-r--r-- | external/meta-openembedded/meta-oe/recipes-support/dfu-util/dfu-util-native_0.9.bb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/external/meta-openembedded/meta-oe/recipes-support/dfu-util/dfu-util-native_0.9.bb b/external/meta-openembedded/meta-oe/recipes-support/dfu-util/dfu-util-native_0.9.bb new file mode 100644 index 00000000..aeca23bf --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-support/dfu-util/dfu-util-native_0.9.bb @@ -0,0 +1,15 @@ +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 -m 0755 src/dfu-util_static ${DEPLOYDIR}/dfu-util-${PV} + rm -f ${DEPLOYDIR}/dfu-util + ln -sf ./dfu-util-${PV} ${DEPLOYDIR}/dfu-util +} +addtask deploy before do_package after do_install |